early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/libmodplug/001-automagically-define-modplug-static.patch
vendored
Executable file
13
externals/vcpkg/ports/libmodplug/001-automagically-define-modplug-static.patch
vendored
Executable file
@@ -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)
|
Reference in New Issue
Block a user