Use -rdynamic on unix targets only.

Mingw32 doesn't support it.
This commit is contained in:
Konstantin Isakov 2010-05-29 15:27:10 +04:00
parent 2b557e7f4b
commit 44a6842c16

View file

@ -21,10 +21,6 @@ RCC_DIR = build
LIBS += \ LIBS += \
-lz \ -lz \
# This is to keep symbols for backtraces
QMAKE_CXXFLAGS += -rdynamic
QMAKE_LFLAGS += -rdynamic
win32 { win32 {
LIBS += -liconv \ LIBS += -liconv \
-lwsock32 \ -lwsock32 \
@ -39,6 +35,11 @@ win32 {
LIBS += -Lwinlibs/lib LIBS += -Lwinlibs/lib
} }
unix { unix {
# This is to keep symbols for backtraces
QMAKE_CXXFLAGS += -rdynamic
QMAKE_LFLAGS += -rdynamic
CONFIG += link_pkgconfig CONFIG += link_pkgconfig
PKGCONFIG += vorbisfile \ PKGCONFIG += vorbisfile \
vorbis \ vorbis \