diff options
author | Kamil Rytarowski <n54@gmx.com> | 2016-02-14 04:31:57 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2016-02-14 04:45:41 +0100 |
commit | 4e548e16efb02b6c97c10eb9fd3d49ac94245507 (patch) | |
tree | 3bfe833ef64af53bb0ff7f71abf155765717699c /src/dlls/mscordbi | |
parent | a1c870d555a73618a8ed9c2d26e523eb7e71ab36 (diff) | |
download | coreclr-4e548e16efb02b6c97c10eb9fd3d49ac94245507.tar.gz coreclr-4e548e16efb02b6c97c10eb9fd3d49ac94245507.tar.bz2 coreclr-4e548e16efb02b6c97c10eb9fd3d49ac94245507.zip |
Add more CMake sugar for NetBSD
This resolves 'gen-dactable-rva.sh does not print to dactablerva.h' #3168
This fixes issue with g_dacTable unavailable in libcoreclr.so.
This patch assumes GNU ld(1) on NetBSD
Thanks to Bruce Mitchener @waywardmonkeys for pointing out ld(1) nits.
Diffstat (limited to 'src/dlls/mscordbi')
-rw-r--r-- | src/dlls/mscordbi/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dlls/mscordbi/CMakeLists.txt b/src/dlls/mscordbi/CMakeLists.txt index 74bc20624c..4470557e0d 100644 --- a/src/dlls/mscordbi/CMakeLists.txt +++ b/src/dlls/mscordbi/CMakeLists.txt @@ -65,11 +65,11 @@ if(WIN32) elseif(CLR_CMAKE_PLATFORM_UNIX) - if(CLR_CMAKE_PLATFORM_LINUX) + if(CLR_CMAKE_PLATFORM_LINUX OR CLR_CMAKE_PLATFORM_NETBSD) # This option is necessary to ensure that the overloaded new/delete operators defined inside # of the utilcode will be used instead of the standard library delete operator. set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Xlinker -Bsymbolic -Bsymbolic-functions") - endif(CLR_CMAKE_PLATFORM_LINUX) + endif(CLR_CMAKE_PLATFORM_LINUX OR CLR_CMAKE_PLATFORM_NETBSD) list(APPEND COREDBI_LIBRARIES mdhotdata_full |