diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/cgicc/fix-static-build.patch | |
Diffstat (limited to 'vcpkg/ports/cgicc/fix-static-build.patch')
| -rw-r--r-- | vcpkg/ports/cgicc/fix-static-build.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/cgicc/fix-static-build.patch b/vcpkg/ports/cgicc/fix-static-build.patch new file mode 100644 index 0000000..4bd2179 --- /dev/null +++ b/vcpkg/ports/cgicc/fix-static-build.patch @@ -0,0 +1,15 @@ +diff --git a/cgicc/CgiDefs.h.in b/cgicc/CgiDefs.h.in +index 71b70ad..3793cd8 100644 +--- a/cgicc/CgiDefs.h.in ++++ b/cgicc/CgiDefs.h.in +@@ -47,7 +47,9 @@ + #ifdef WIN32 + + // export library symbols +-# ifdef CGICC_EXPORTS ++# ifdef CGICC_STATIC ++# define CGICC_API ++# elif defined(CGICC_EXPORTS) + # define CGICC_API __declspec(dllexport) + # else + # define CGICC_API __declspec(dllimport) |