adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[adonthell-commits] master f301bfb: FIXED building against official SDL_


From: Kai Sterker
Subject: [adonthell-commits] master f301bfb: FIXED building against official SDL_mixer lib
Date: Sat, 28 Oct 2017 12:43:15 -0400 (EDT)

branch: master
commit f301bfb390472130213535485cdc961a39683b2f
Author: Kai Sterker <address@hidden>
Commit: Kai Sterker <address@hidden>

    FIXED building against official SDL_mixer lib
---
 make_windows_pkg.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/make_windows_pkg.sh b/make_windows_pkg.sh
index fd49a04..c09195b 100755
--- a/make_windows_pkg.sh
+++ b/make_windows_pkg.sh
@@ -123,6 +123,15 @@ function copyLibs
 # -- copy shared libraries used by application
 copyLibs "$bindir/$APP"
 
+# -- copy libvorbis and dependencies
+libvorbis=`find $MINGW_PREFIX/bin/ -name libvorbisfile-*.dll -exec basename {} 
\;`
+if test "x$libvorbis" != "x" ; then
+  cp "$MINGW_PREFIX/bin/$libvorbis" "$bindir"
+  copyLibs "$bindir/$libvorbis"
+else
+  echo "*** Cannot find libvorbis. Background music will not work ..."
+fi
+
 function removeDbgSyms
 {
     local relpath="@executable_path/../Frameworks"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]