mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 17:02:48 +08:00
[ccfits] Fix x64-linux-dynamic build (#25826)
Co-authored-by: Osyotr <8740768+Osyotr@users.noreply.github.com>
This commit is contained in:
parent
bb920d6a58
commit
d2dbf99615
@ -311,45 +311,26 @@ new file mode 100644
|
|||||||
index 0000000..a2540a6 100644
|
index 0000000..a2540a6 100644
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/ccfits_export.h
|
+++ b/ccfits_export.h
|
||||||
@@ -0,0 +1,41 @@
|
@@ -0,0 +1,22 @@
|
||||||
+#ifndef CCFITS_EXPORT_H
|
+#ifndef CCFITS_EXPORT_H
|
||||||
+#define CCFITS_EXPORT_H
|
+#define CCFITS_EXPORT_H
|
||||||
+
|
+
|
||||||
+#ifdef CCFITS_STATIC_DEFINE
|
+#ifdef CCFITS_STATIC_DEFINE
|
||||||
+# define CCFITS_EXPORT
|
+# define CCFITS_EXPORT
|
||||||
+# define CCFITS_NO_EXPORT
|
|
||||||
+#else
|
+#else
|
||||||
+# ifndef CCFITS_EXPORT
|
+# ifndef CCFITS_EXPORT
|
||||||
+# ifdef CCfits_EXPORTS
|
+# ifdef _MSC_VER
|
||||||
+ /* We are building this library */
|
+# ifdef CCfits_EXPORTS
|
||||||
+# define CCFITS_EXPORT __declspec(dllexport)
|
+ /* We are building this library */
|
||||||
|
+# define CCFITS_EXPORT __declspec(dllexport)
|
||||||
|
+# else
|
||||||
|
+ /* We are using this library */
|
||||||
|
+# define CCFITS_EXPORT __declspec(dllimport)
|
||||||
|
+# endif
|
||||||
+# else
|
+# else
|
||||||
+ /* We are using this library */
|
+# define CCFITS_EXPORT __attribute__((visibility("default")))
|
||||||
+# define CCFITS_EXPORT __declspec(dllimport)
|
|
||||||
+# endif
|
+# endif
|
||||||
+# endif
|
+# endif
|
||||||
+
|
|
||||||
+# ifndef CCFITS_NO_EXPORT
|
|
||||||
+# define CCFITS_NO_EXPORT
|
|
||||||
+# endif
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#ifndef CCFITS_DEPRECATED
|
|
||||||
+# define CCFITS_DEPRECATED __declspec(deprecated)
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#ifndef CCFITS_DEPRECATED_EXPORT
|
|
||||||
+# define CCFITS_DEPRECATED_EXPORT CCFITS_EXPORT CCFITS_DEPRECATED
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#ifndef CCFITS_DEPRECATED_NO_EXPORT
|
|
||||||
+# define CCFITS_DEPRECATED_NO_EXPORT CCFITS_NO_EXPORT CCFITS_DEPRECATED
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#if 0 /* DEFINE_NO_DEPRECATED */
|
|
||||||
+# ifndef CCFITS_NO_DEPRECATED
|
|
||||||
+# define CCFITS_NO_DEPRECATED
|
|
||||||
+# endif
|
|
||||||
+#endif
|
+#endif
|
||||||
+
|
+
|
||||||
+#endif
|
+#endif
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "ccfits",
|
"name": "ccfits",
|
||||||
"version": "2.5",
|
"version": "2.5",
|
||||||
"port-version": 8,
|
"port-version": 9,
|
||||||
"description": "CCfits is an object oriented interface to the cfitsio library. It is designed to make the capabilities of cfitsio available to programmers working in C++.",
|
"description": "CCfits is an object oriented interface to the cfitsio library. It is designed to make the capabilities of cfitsio available to programmers working in C++.",
|
||||||
"homepage": "https://heasarc.gsfc.nasa.gov/fitsio/CCfits/",
|
"homepage": "https://heasarc.gsfc.nasa.gov/fitsio/CCfits/",
|
||||||
|
"license": "NASA-1.3",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"cfitsio",
|
"cfitsio",
|
||||||
{
|
{
|
||||||
|
@ -1302,7 +1302,7 @@
|
|||||||
},
|
},
|
||||||
"ccfits": {
|
"ccfits": {
|
||||||
"baseline": "2.5",
|
"baseline": "2.5",
|
||||||
"port-version": 8
|
"port-version": 9
|
||||||
},
|
},
|
||||||
"cctag": {
|
"cctag": {
|
||||||
"baseline": "1.0.2",
|
"baseline": "1.0.2",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "659ca5a77df9383a31166079a5f08ce70400d4ab",
|
||||||
|
"version": "2.5",
|
||||||
|
"port-version": 9
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "ebcb81196a7e63b3b7c4b78f67ebc4e5f20c97c3",
|
"git-tree": "ebcb81196a7e63b3b7c4b78f67ebc4e5f20c97c3",
|
||||||
"version": "2.5",
|
"version": "2.5",
|
||||||
|
Loading…
Reference in New Issue
Block a user