Browse Source

Merge topic 'open-watcom'

71d3aa1499 OpenWatcom: Fix Windows3x DLL linking

Acked-by: Kitware Robot <[email protected]>
Merge-request: !9370
Brad King 1 year ago
parent
commit
60de0b410e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Modules/Platform/Windows3x-OpenWatcom.cmake

+ 2 - 2
Modules/Platform/Windows3x-OpenWatcom.cmake

@@ -8,8 +8,8 @@ set(CMAKE_BUILD_TYPE_INIT Debug)
 
 if(DEFINED CMAKE_SYSTEM_PROCESSOR AND CMAKE_SYSTEM_PROCESSOR STREQUAL "I86")
   string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " system windows")
-  string(APPEND CMAKE_SHARED_LINKER_FLAGS_INIT " system windows")
-  string(APPEND CMAKE_MODULE_LINKER_FLAGS_INIT " system windows")
+  string(APPEND CMAKE_SHARED_LINKER_FLAGS_INIT " system windows_dll")
+  string(APPEND CMAKE_MODULE_LINKER_FLAGS_INIT " system windows_dll")
 else()
   string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " system win386")
   string(APPEND CMAKE_SHARED_LINKER_FLAGS_INIT " system win386")