From: Shamus Hammons Date: Thu, 30 Jun 2011 22:21:09 +0000 (+0000) Subject: Changes to qmake file to link SDL statically on Mac OSX. X-Git-Tag: 2.0.0~34^2~4 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=736042421d3aef1d9e223018b91e3485afff495f;p=virtualjaguar Changes to qmake file to link SDL statically on Mac OSX. --- diff --git a/virtualjaguar.pro b/virtualjaguar.pro index 6bc2658..ecaf4d4 100644 --- a/virtualjaguar.pro +++ b/virtualjaguar.pro @@ -14,7 +14,8 @@ TARGET = virtualjaguar CONFIG += qt warn_on release debug RESOURCES += virtualjaguar.qrc -LIBS += `sdl-config --libs` -lz -Lobj -lmusashi +#LIBS += `sdl-config --libs` -lz -Lobj -lmusashi +LIBS += -lz -Lobj -lmusashi QT += opengl # We stuff all the intermediate crap into obj/ so it won't confuse us mere mortals ;-) @@ -28,6 +29,10 @@ win32 { DEFINES += __GCCWIN32__ } macx { DEFINES += __GCCUNIX__ _OSX_ } unix { DEFINES += __GCCUNIX__ } +# SDL +macx { LIBS += `sdl-config --static-libs` } +win32|unix { LIBS += `sdl-config --libs` } + #CFLAGS := -MMD -Wall -Wno-switch -O2 -D$(SYSTYPE) -ffast-math -fomit-frame-pointer `sdl-config --cflags` #CPPFLAGS := -MMD -Wall -Wno-switch -Wno-non-virtual-dtor -O2 -D$(SYSTYPE) -Wno-trigraphs \ # $(HAVECDIO) -ffast-math -fomit-frame-pointer `sdl-config --cflags` -g