diff options
| author | Alexander Karatarakis <alex@karatarakis.com> | 2016-12-19 15:34:28 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-19 15:34:28 -0800 |
| commit | a1be45adc3ca994df94f35483a190aac8722e088 (patch) | |
| tree | 540de2fb9abe8ad46d9027262a1b419e5578793f /ports/libmodplug/automagically-define-modplug-static.patch | |
| parent | f30e93753fa539d128ce1c62cf6f9f8d48aa158b (diff) | |
| parent | 92124c9b5ef9baae6d57e57880e32489cba8068d (diff) | |
| download | vcpkg-a1be45adc3ca994df94f35483a190aac8722e088.tar.gz vcpkg-a1be45adc3ca994df94f35483a190aac8722e088.zip | |
Merge pull request #425 from codicodi/add-modplug
[libmodplug] initial commit
Diffstat (limited to 'ports/libmodplug/automagically-define-modplug-static.patch')
| -rw-r--r-- | ports/libmodplug/automagically-define-modplug-static.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/libmodplug/automagically-define-modplug-static.patch b/ports/libmodplug/automagically-define-modplug-static.patch new file mode 100644 index 000000000..b7982b2d3 --- /dev/null +++ b/ports/libmodplug/automagically-define-modplug-static.patch @@ -0,0 +1,13 @@ +diff --git a/libmodplug/modplug.h b/libmodplug/modplug.h
+index 3ffbf9d..fd19ae5 100644
+--- a/libmodplug/modplug.h
++++ b/libmodplug/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)
|
