Commit 65c5f31b authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

contrib:gme: always build a static library on Windows

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 06df19ba
--- game-music-emu/gme/CMakeLists.txt 2017-11-21 10:43:46.577551600 +0100
+++ game-music-emu/gme/CMakeLists.txt.static 2017-11-21 10:43:22.791330000 +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})
......@@ -14,6 +14,7 @@ game-music-emu: game-music-emu-$(GME_VERSION).tar.bz2 .sum-gme
$(UNPACK)
$(APPLY) $(SRC)/gme/gme-quotes.patch
$(APPLY) $(SRC)/gme/skip-underrun.patch
$(APPLY) $(SRC)/gme/gme-static.patch
$(MOVE)
.gme: game-music-emu toolchain.cmake
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment