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/libimobiledevice-glue/003_fix_static_build.patch | |
Diffstat (limited to 'vcpkg/ports/libimobiledevice-glue/003_fix_static_build.patch')
| -rw-r--r-- | vcpkg/ports/libimobiledevice-glue/003_fix_static_build.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/libimobiledevice-glue/003_fix_static_build.patch b/vcpkg/ports/libimobiledevice-glue/003_fix_static_build.patch new file mode 100644 index 0000000..4e587cf --- /dev/null +++ b/vcpkg/ports/libimobiledevice-glue/003_fix_static_build.patch @@ -0,0 +1,19 @@ +diff --git a/src/glue.c b/src/glue.c +index 7970679..bad3269 100644 +--- a/src/glue.c ++++ b/src/glue.c +@@ -29,6 +29,8 @@ + #include "common.h" + #include "libimobiledevice-glue/thread.h" + ++#ifndef LIBIMOBILEDEVICEGLUE_STATIC // disable dll constructor ++ + extern void term_colors_init(); + + static void internal_glue_init(void) +@@ -78,3 +80,5 @@ BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved) + #else + #warning No compiler support for constructor/destructor attributes, some features might not be available. + #endif ++ ++#endif // disable dll constructor |