Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 9339519

Browse files
committed
Fix mis-merging in AddLLVM.cmake, take #2. LINK.EXE's options had been broken. Sorry again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198169 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent e44676d commit 9339519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/AddLLVM.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function(add_llvm_symbol_exports target_name export_file)
4949
LINK_FLAGS "${CMAKE_CURRENT_BINARY_DIR}/${native_export_file}")
5050
else()
5151
set_property(TARGET ${target_name} APPEND_STRING PROPERTY
52-
LINK_FLAGS " ${CMAKE_CURRENT_BINARY_DIR}/${native_export_file}")
52+
LINK_FLAGS "/DEF:${CMAKE_CURRENT_BINARY_DIR}/${native_export_file}")
5353
endif()
5454
endif()
5555

0 commit comments

Comments
 (0)