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) {