aboutsummaryrefslogtreecommitdiff
path: root/ports/libmodplug/001-automagically-define-modplug-static.patch
diff options
context:
space:
mode:
authorGriffin Downs <35574547+grdowns@users.noreply.github.com>2019-04-12 02:30:59 -0700
committerGitHub <noreply@github.com>2019-04-12 02:30:59 -0700
commit0e000644053015b7f7a0985e14f0bd384c847d17 (patch)
tree7e456fd12b3bf281b28587338f1650017c8b32ab /ports/libmodplug/001-automagically-define-modplug-static.patch
parent93ce6b4f27602cd18f4327c2cfd84093d472b8bb (diff)
parent39ba5b2b30c9f7b49e777a62093cdd49d05b53a9 (diff)
downloadvcpkg-0e000644053015b7f7a0985e14f0bd384c847d17.tar.gz
vcpkg-0e000644053015b7f7a0985e14f0bd384c847d17.zip
Merge branch 'master' into master
Diffstat (limited to 'ports/libmodplug/001-automagically-define-modplug-static.patch')
-rw-r--r--ports/libmodplug/001-automagically-define-modplug-static.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/libmodplug/001-automagically-define-modplug-static.patch b/ports/libmodplug/001-automagically-define-modplug-static.patch
new file mode 100644
index 000000000..d0df45473
--- /dev/null
+++ b/ports/libmodplug/001-automagically-define-modplug-static.patch
@@ -0,0 +1,13 @@
+diff --git a/src/modplug.h b/src/modplug.h
+index 3ffbf9d..fd19ae5 100644
+--- a/src/modplug.h
++++ b/src/modplug.h
+@@ -11,6 +11,8 @@
+ extern "C" {
+ #endif
+
++#define MODPLUG_STATIC
++
+ #if defined(_WIN32) || defined(__CYGWIN__)
+ # if defined(MODPLUG_BUILD) && defined(DLL_EXPORT) /* building libmodplug as a dll for windows */
+ # define MODPLUG_EXPORT __declspec(dllexport)