]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
changed DP_MODPLUG_STATIC_PREFIX to DP_MODPLUG_STATIC_LIBDIR (so it works on Fedora...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Dec 2007 14:53:43 +0000 (14:53 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Dec 2007 14:53:43 +0000 (14:53 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7801 d7cf8633-e32d-0410-b094-e92efae38249

makefile.inc

index 47cbc8e116f6b2a11baff55674d9bb995fca32d3..126dad00fd900340e9910f5d9d22c8bf40258d2d 100644 (file)
@@ -31,8 +31,8 @@ STRIP?=strip
 OBJ_SND_COMMON=snd_main.o snd_mem.o snd_mix.o snd_ogg.o snd_wav.o snd_modplug.o
 
 # Additional stuff for libmodplug
-LIB_SND_MODPLUG=`if [ -n "$(DP_MODPLUG_STATIC_PREFIX)" ]; then echo " $(DP_MODPLUG_STATIC_PREFIX)/lib/libmodplug.a -lstdc++"; fi`
-CFLAGS_SND_MODPLUG=`if [ -n "$(DP_MODPLUG_STATIC_PREFIX)" ]; then echo " -I$(DP_MODPLUG_STATIC_PREFIX)/include -DSND_MODPLUG_STATIC"; fi`
+LIB_SND_MODPLUG=`if [ -n "$(DP_MODPLUG_STATIC_LIBDIR)" ]; then echo " $(DP_MODPLUG_STATIC_LIBDIR)/libmodplug.a -lstdc++"; fi`
+CFLAGS_SND_MODPLUG=`if [ -n "$(DP_MODPLUG_STATIC_LIBDIR)" ]; then echo " -I$(DP_MODPLUG_STATIC_LIBDIR)/../include -DSND_MODPLUG_STATIC"; fi`
 
 # No sound
 OBJ_SND_NULL=snd_null.o