Skip to content

Commit

Permalink
i#1805 dup syms: Work around dup syms in drstrace.exe (#2288)
Browse files Browse the repository at this point in the history
Adds /force:multiple to drstrace.exe to avoid VS2017 link errors.

Issue: #1805
  • Loading branch information
derekbruening authored Mar 21, 2020
1 parent e647ea6 commit 1327c35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drstrace/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ set_library_version(drstrace ${DRMF_VERSION})
if (WIN32)
set_property(TARGET drstrace PROPERTY COMPILE_DEFINITIONS
${DEFINES_NO_D} RC_IS_DRSTRACE SYMBOL_DLL_NAME="$<TARGET_FILE_NAME:symfetch>")
# DRi#1409/DRi#1503/i#1805: Avoid dup symbol _isdigit with VS2017.
append_property_string(TARGET drstrace LINK_FLAGS "/force:multiple")
else ()
set_property(TARGET drstrace PROPERTY COMPILE_DEFINITIONS ${DEFINES_NO_D})
endif ()
Expand Down

0 comments on commit 1327c35

Please sign in to comment.