# use: qmake "RELEASE=1"
contains(RELEASE, 1) {
- # Mac: compile for maximum compatibility (10.5, 32-bit)
- macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-
!windows:!macx {
# Linux: static link
LIBS += -Wl,-Bstatic
}
}
+linux-* {
+ # We may need some linuxism here
+ LIBS += -ldl
+}
+
+netbsd-*|freebsd-*|openbsd-* {
+ # libexecinfo is required for back trace
+ LIBS += -lexecinfo
+}
+
system($$QMAKE_LRELEASE -silent $$PWD/src/qt/locale/translations.pro)