mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
Use -rdynamic on unix targets only.
Mingw32 doesn't support it.
This commit is contained in:
parent
2b557e7f4b
commit
44a6842c16
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue