mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-30 12:14:08 +03:00
0032475: Configuration, qmake - drop "-z defs" linker flag on macOS
This commit is contained in:
parent
d1b591e580
commit
0f04bd99d0
@ -43,15 +43,15 @@ win32 {
|
|||||||
QMAKE_CXXFLAGS += -fexceptions
|
QMAKE_CXXFLAGS += -fexceptions
|
||||||
QMAKE_CXXFLAGS += -fvisibility=default
|
QMAKE_CXXFLAGS += -fvisibility=default
|
||||||
DEFINES += OCC_CONVERT_SIGNALS
|
DEFINES += OCC_CONVERT_SIGNALS
|
||||||
gcc {
|
|
||||||
QMAKE_LFLAGS += -Wl,-z,defs
|
|
||||||
}
|
|
||||||
mac {
|
mac {
|
||||||
iphoneos {
|
iphoneos {
|
||||||
QMAKE_IOS_DEPLOYMENT_TARGET = 8.0
|
QMAKE_IOS_DEPLOYMENT_TARGET = 8.0
|
||||||
} else {
|
} else {
|
||||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.14
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.14
|
||||||
}
|
}
|
||||||
|
} else:gcc {
|
||||||
|
# ask linker to report missing library dependencies
|
||||||
|
QMAKE_LFLAGS += -Wl,-z,defs
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
!CONFIG(debug, debug|release) {
|
!CONFIG(debug, debug|release) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user