summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-02-24 13:30:26 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-02-24 13:30:26 (GMT)
commit307bdadadc9b6ea57e0df76ec81168ef4b81b636 (patch)
tree0cc5ca7c42f996425f883b5e4dd367bcc239336d /Modules/Platform
parenta9841e6e9aae1f2df0e3d94031dc3816c269d4b5 (diff)
parent6c4b2492728cd3fab60bf11feafe3361f02c08c9 (diff)
downloadCMake-307bdadadc9b6ea57e0df76ec81168ef4b81b636.zip
CMake-307bdadadc9b6ea57e0df76ec81168ef4b81b636.tar.gz
CMake-307bdadadc9b6ea57e0df76ec81168ef4b81b636.tar.bz2
Merge topic 'mingw-module-definition'
6c4b249 Fix Fortran test .def file symbol mangling 7616216 Pass .def files directly to MinGW tools (#9997)
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-GNU.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-GNU.cmake b/Modules/Platform/Windows-GNU.cmake
index 8df0bcb..72b5d62 100644
--- a/Modules/Platform/Windows-GNU.cmake
+++ b/Modules/Platform/Windows-GNU.cmake
@@ -43,7 +43,7 @@ endif()
set(CMAKE_DL_LIBS "")
set(CMAKE_LIBRARY_PATH_FLAG "-L")
set(CMAKE_LINK_LIBRARY_FLAG "-l")
-set(CMAKE_LINK_DEF_FILE_FLAG "-Wl,")
+set(CMAKE_LINK_DEF_FILE_FLAG "") # Empty string: passing the file is enough
set(CMAKE_LINK_LIBRARY_SUFFIX "")
set(CMAKE_CREATE_WIN32_EXE "-mwindows")