提交 f35a958e 编写于 作者: E Eric Erhardt 提交者: GitHub

Merge pull request dotnet/core-setup#1458 from wjk/rpath_warnings

Set MACOSX_RPATH on hostfxr and hostpolicy

Commit migrated from https://github.com/dotnet/core-setup/commit/a54cbb5a26dd1a759ecfa1129a695b8cce24c23f
......@@ -61,6 +61,7 @@ if(WIN32)
list(APPEND RESOURCES ../native.rc)
endif()
add_library(hostpolicy SHARED ${SOURCES} ${RESOURCES})
set_target_properties(hostpolicy PROPERTIES MACOSX_RPATH TRUE)
# Specify the import library to link against for Arm32 build since the default set is minimal
if (WIN32 AND CLI_CMAKE_PLATFORM_ARCH_ARM)
......
......@@ -58,6 +58,7 @@ if(WIN32)
list(APPEND RESOURCES ../native.rc)
endif()
add_library(hostfxr SHARED ${SOURCES} ${RESOURCES})
set_target_properties(hostfxr PROPERTIES MACOSX_RPATH TRUE)
# Specify the import library to link against for Arm32 build since the default set is minimal
if (WIN32 AND CLI_CMAKE_PLATFORM_ARCH_ARM)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册