mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Fix embedding GD under MinGW
This commit is contained in:
parent
3596951e84
commit
e1d81f6faf
2 changed files with 16 additions and 10 deletions
11
client/deps/gd-static.patch
Normal file
11
client/deps/gd-static.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/src/gd.h 2024-01-07 16:51:43.749223000 +0100
|
||||
+++ b/src/gd.h 2024-01-07 16:52:34.162291600 +0100
|
||||
@@ -45,7 +45,7 @@
|
||||
the gd sources in a project. */
|
||||
|
||||
/* http://gcc.gnu.org/wiki/Visibility */
|
||||
-#if defined(_WIN32) || defined(CYGWIN) || defined(_WIN32_WCE)
|
||||
+#if 0 // Disable DLL annotations when building statically. Needed for embedding under MinGW.
|
||||
# ifdef BGDWIN32
|
||||
# ifdef NONDLL
|
||||
# define BGD_EXPORT_DATA_PROT
|
Loading…
Add table
Add a link
Reference in a new issue