mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +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 += \
|
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 \
|
||||||
|
|
Loading…
Reference in a new issue