]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix ODE_DYNAMIC makefile stuff
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 22 Oct 2009 11:26:54 +0000 (11:26 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 22 Oct 2009 11:26:54 +0000 (11:26 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9384 d7cf8633-e32d-0410-b094-e92efae38249

makefile.inc

index 250f2e3e2406c0dad7ffe1d0d92f244962531c4d..375ca40430fd488044fe5ce312b9e2307db7e191 100644 (file)
@@ -25,7 +25,7 @@ CPUOPTIMIZATIONS?=
 
 # Additional stuff for libode
 LIB_ODE=`[ -n "$(DP_ODE_STATIC_LIBDIR)" ] && echo \ $(DP_ODE_STATIC_LIBDIR)/libode.a\ -lstdc++`
-CFLAGS_ODE=`[ -n "$(DP_ODE_STATIC_LIBDIR)" ] && echo \ -I$(DP_ODE_STATIC_LIBDIR)/../include\ -DODE_STATIC || [ -n "$(DP_ODE_DYNAMIC)" ] && echo \ -DODE_DYNAMIC`
+CFLAGS_ODE=`[ -n "$(DP_ODE_STATIC_LIBDIR)" ] && echo \ -I$(DP_ODE_STATIC_LIBDIR)/../include\ -DODE_STATIC || { [ -n "$(DP_ODE_DYNAMIC)" ] && echo \ -DODE_DYNAMIC; }`
 
 
 SDL_CONFIG?=sdl-config