vcpkg/ports/libmodplug/automagically-define-modplug-static.patch
2016-12-18 15:18:24 +01:00

14 lines
414 B
Diff

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)