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 += \
-lz \
# This is to keep symbols for backtraces
QMAKE_CXXFLAGS += -rdynamic
QMAKE_LFLAGS += -rdynamic
win32 {
LIBS += -liconv \
-lwsock32 \
@ -39,6 +35,11 @@ win32 {
LIBS += -Lwinlibs/lib
}
unix {
# This is to keep symbols for backtraces
QMAKE_CXXFLAGS += -rdynamic
QMAKE_LFLAGS += -rdynamic
CONFIG += link_pkgconfig
PKGCONFIG += vorbisfile \
vorbis \