[vlc-devel] [PATCH 09/19] contrib: gme: don't build as a DLL ever

Steve Lhomme robux4 at videolabs.io
Wed Jun 14 14:01:58 CEST 2017


From: Steve Lhomme <robux4 at gmail.com>

---
 contrib/src/gme/gme-static.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/contrib/src/gme/gme-static.patch b/contrib/src/gme/gme-static.patch
index f1bed229d0..9c06120ce6 100644
--- a/contrib/src/gme/gme-static.patch
+++ b/contrib/src/gme/gme-static.patch
@@ -9,3 +9,14 @@
  
  # The version is the release.  The "soversion" is the API version.  As long
  # as only build fixes are performed (i.e. no backwards-incompatible changes
+--- game-music-emu/gme/CMakeLists.txt	2016-12-16 14:29:02.726746500 +0100
++++ game-music-emu/gme/CMakeLists.txt.win32	2016-12-16 14:27:30.866603200 +0100
+@@ -137,7 +137,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DI
+ # On some platforms we may need to change headers or whatnot based on whether
+ # we're building the library or merely using the library. The following is
+ # only defined when building the library to allow us to tell which is which.
+-add_definitions(-DBLARGG_BUILD_DLL)
++#add_definitions(-DBLARGG_BUILD_DLL)
+ 
+ # For the gme_types.h
+ include_directories(${CMAKE_CURRENT_BINARY_DIR})
-- 
2.12.1



More information about the vlc-devel mailing list