1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0032475: Configuration, qmake - drop "-z defs" linker flag on macOS

This commit is contained in:
kgv 2021-07-08 14:02:40 +03:00 committed by bugmaster
parent d1b591e580
commit 0f04bd99d0

View File

@ -43,15 +43,15 @@ win32 {
QMAKE_CXXFLAGS += -fexceptions
QMAKE_CXXFLAGS += -fvisibility=default
DEFINES += OCC_CONVERT_SIGNALS
gcc {
QMAKE_LFLAGS += -Wl,-z,defs
}
mac {
iphoneos {
QMAKE_IOS_DEPLOYMENT_TARGET = 8.0
} else {
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.14
}
} else:gcc {
# ask linker to report missing library dependencies
QMAKE_LFLAGS += -Wl,-z,defs
}
}
!CONFIG(debug, debug|release) {