summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2015-12-15 08:17:49 +0100
committerJan Vorlicek <janvorli@microsoft.com>2015-12-15 08:17:49 +0100
commit32b981ae821241ce9340b1c2e4bfd709152d9c53 (patch)
tree4b86618cd9b099f868ae749dbf682808fcb9871a
parent171f3cfcec282b42feb3f99f8521b834efdbccf4 (diff)
parentff918aa714673aad1c828cb023ccbfad7cc447ec (diff)
downloadcoreclr-32b981ae821241ce9340b1c2e4bfd709152d9c53.tar.gz
coreclr-32b981ae821241ce9340b1c2e4bfd709152d9c53.tar.bz2
coreclr-32b981ae821241ce9340b1c2e4bfd709152d9c53.zip
Merge pull request #2339 from Marqin/master
[BUILD] Fix for #2338
-rw-r--r--src/coreclr/hosts/unixcoreruncommon/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/coreclr/hosts/unixcoreruncommon/CMakeLists.txt b/src/coreclr/hosts/unixcoreruncommon/CMakeLists.txt
index 2b5831e6d9..92c5cfd8b2 100644
--- a/src/coreclr/hosts/unixcoreruncommon/CMakeLists.txt
+++ b/src/coreclr/hosts/unixcoreruncommon/CMakeLists.txt
@@ -5,3 +5,6 @@ add_library(unixcoreruncommon
coreruncommon.cpp
)
+if(CLR_CMAKE_PLATFORM_LINUX)
+ target_link_libraries(unixcoreruncommon dl)
+endif(CLR_CMAKE_PLATFORM_LINUX)