]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
use sdl-config --static-libs on Mac
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jun 2005 03:54:14 +0000 (03:54 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jun 2005 03:54:14 +0000 (03:54 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5441 d7cf8633-e32d-0410-b094-e92efae38249

makefile.inc

index 31afc8a82fe5dfa1c8ea88f04b414d75c53a0e0b..8e286842f20409a9ff034950edc8185fe549e0d9 100644 (file)
@@ -190,7 +190,7 @@ OBJ_MACOSXCD=$(OBJ_NOCD)
 # Link
 LDFLAGS_MACOSXCL=$(LDFLAGS_UNIXCOMMON) -ldl $(LDFLAGS_UNIXCL)
 LDFLAGS_MACOSXSV=$(LDFLAGS_UNIXCOMMON) -ldl
-LDFLAGS_MACOSXSDL=$(LDFLAGS_UNIXCOMMON) -ldl $(LDFLAGS_UNIXSDL)
+LDFLAGS_MACOSXSDL=$(LDFLAGS_UNIXCOMMON) -ldl `sdl-config --static-libs`
 
 OBJ_AGL= builddate.c sys_linux.o vid_agl.o $(OBJ_SOUND) $(OBJ_CD) $(OBJ_COMMON)