mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 07:19:08 +08:00
590f3a78b2
* Update libmodplug to build on linux * [libmodplug] Patch instead of changing downloading source * [libmodplug] Keep original source instead of using fork
14 lines
373 B
Diff
14 lines
373 B
Diff
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)
|