From 0f04bd99d07f417abbecf17d54c4a9754aa4f3ae Mon Sep 17 00:00:00 2001 From: kgv Date: Thu, 8 Jul 2021 14:02:40 +0300 Subject: [PATCH] 0032475: Configuration, qmake - drop "-z defs" linker flag on macOS --- adm/qmake/OccCppConfig.pri | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/adm/qmake/OccCppConfig.pri b/adm/qmake/OccCppConfig.pri index 985d1051ce..07f0fdd00a 100644 --- a/adm/qmake/OccCppConfig.pri +++ b/adm/qmake/OccCppConfig.pri @@ -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) {