diff options
| author | codicodi <rob.ceglinski@gmail.com> | 2016-12-18 15:18:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-18 15:18:24 +0100 |
| commit | b5368c404d51424c81a83834ac3fe1a628a54834 (patch) | |
| tree | e40e7d3767bc5d41866d17bee7696b798f5dfb1a /ports/libmodplug/automagically-define-modplug-static.patch | |
| parent | 96e08d924a98889085716627c2ed96b8a04b7c5b (diff) | |
| download | vcpkg-b5368c404d51424c81a83834ac3fe1a628a54834.tar.gz vcpkg-b5368c404d51424c81a83834ac3fe1a628a54834.zip | |
[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)
|
