Skip to content

Commit 355b455

Browse files
committed
Fix IJW tests.
1 parent 5246dc3 commit 355b455

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

eng/native/ijw/IJW.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ if (CLR_CMAKE_HOST_WIN32)
7070
remove_ijw_incompatible_options("${dirCompileOptions}" dirCompileOptions)
7171
set_directory_properties(PROPERTIES COMPILE_OPTIONS "${dirCompileOptions}")
7272

73+
# IJW tests needs to load DLLs from somewhere other than System32
74+
string(REPLACE "/DEPENDENTLOADFLAG:0x800" "" CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}")
75+
string(REPLACE "/DEPENDENTLOADFLAG:0x800" "" CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}")
76+
7377
set(CLR_SDK_REF_PACK_OUTPUT "")
7478
set(CLR_SDK_REF_PACK_DISCOVERY_ERROR "")
7579
set(CLR_SDK_REF_PACK_DISCOVERY_RESULT 0)

0 commit comments

Comments
 (0)