diff options
Diffstat (limited to 'src/core/core_module.pro')
-rw-r--r-- | src/core/core_module.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_module.pro b/src/core/core_module.pro index cf253a735..68d46cd5a 100644 --- a/src/core/core_module.pro +++ b/src/core/core_module.pro @@ -22,7 +22,7 @@ osx { } else:msvc { # Simulate -whole-archive by passing the list of object files that belong to the public # API library as response file to the linker. - LIBS_PRIVATE += /OPT:REF + QMAKE_LFLAGS += /OPT:REF QMAKE_LFLAGS += @$${api_library_path}$${QMAKE_DIR_SEP}$${api_library_name}.lib.objects } else { LIBS_PRIVATE += -Wl,-whole-archive -l$$api_library_name -Wl,-no-whole-archive |