fixed OS X build

This commit is contained in:
Mathew Velasquez 2015-09-07 13:03:21 -04:00
parent 186dc1bfe9
commit ead39083d1
3 changed files with 13 additions and 4 deletions

View file

@ -43,9 +43,18 @@ contains(BINDING, NULL) {
unix {
CONFIG += link_pkgconfig
PKGCONFIG += sigc++-2.0 pixman-1 zlib physfs vorbisfile \
sdl2 SDL2_image SDL2_ttf SDL_sound openal
LIBS += -ldl
PKGCONFIG += sigc++-2.0 pixman-1 zlib vorbisfile \
sdl2 SDL2_image SDL2_ttf SDL_sound
LIBS += -ldl -lphysfs
macx: {
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
CONFIG -= app_bundle
INCLUDEPATH += /System/Library/Frameworks/OpenAL.framework/Headers
LIBS += -framework OpenAL
}
!macx: {
PKGCONFIG += openal
}
SHARED_FLUID {
PKGCONFIG += fluidsynth