Skip to content

Commit 69037c9

Browse files
Fix clrjit exports on non-Windows platforms. (#38254)
1 parent 140eb26 commit 69037c9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/coreclr/src/jit/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ else()
324324
endif()
325325

326326
set_exports_linker_option(${JIT_EXPORTS_FILE})
327+
set(JIT_EXPORTS_LINKER_OPTION ${EXPORTS_LINKER_OPTION})
327328
set(SHARED_LIB_SOURCES ${SOURCES})
328329
endif()
329330

src/coreclr/tests/src/Interop/UnmanagedCallersOnly/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set(SOURCES UnmanagedCallersOnlyDll.cpp )
44

55
# add the executable
66
add_library (UnmanagedCallersOnlyDll SHARED ${SOURCES})
7-
target_link_libraries(UnmanagedCallersOnlyDll ${LINK_LIBRARIES_ADDITIONAL})
7+
target_link_libraries(UnmanagedCallersOnlyDll ${LINK_LIBRARIES_ADDITIONAL})
88

99
# add the install targets
1010
install (TARGETS UnmanagedCallersOnlyDll DESTINATION bin)

0 commit comments

Comments
 (0)