diff options
author | Davis Goodin <dagood@users.noreply.github.com> | 2018-09-24 18:48:05 -0500 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2018-09-25 01:48:05 +0200 |
commit | 4e4665f127d2ec8f361ad068690f79be20a63280 (patch) | |
tree | 4a3fe798a15a0f9dcbb1b93c66d598e8372d3404 /src/pal | |
parent | bcb2a56138685748c5a8c1d8c973ff1a51c81883 (diff) | |
download | coreclr-4e4665f127d2ec8f361ad068690f79be20a63280.tar.gz coreclr-4e4665f127d2ec8f361ad068690f79be20a63280.tar.bz2 coreclr-4e4665f127d2ec8f361ad068690f79be20a63280.zip |
Don't check for libintl.h on Darwin (OSX) (#20094)
Diffstat (limited to 'src/pal')
-rw-r--r-- | src/pal/src/configure.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pal/src/configure.cmake b/src/pal/src/configure.cmake index 8b3fb099a4..c8b4d44509 100644 --- a/src/pal/src/configure.cmake +++ b/src/pal/src/configure.cmake @@ -37,7 +37,10 @@ check_include_files(sys/prctl.h HAVE_PRCTL_H) check_include_files(numa.h HAVE_NUMA_H) check_include_files(pthread_np.h HAVE_PTHREAD_NP_H) check_include_files("sys/auxv.h;asm/hwcap.h" HAVE_AUXV_HWCAP_H) -check_include_files("libintl.h" HAVE_LIBINTL_H) + +if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin) + check_include_files("libintl.h" HAVE_LIBINTL_H) +endif() if(NOT CMAKE_SYSTEM_NAME STREQUAL FreeBSD AND NOT CMAKE_SYSTEM_NAME STREQUAL NetBSD) set(CMAKE_REQUIRED_FLAGS "-ldl") |