Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Port to 2.1 - Don't check for libintl.h on OSX (#20118)
Browse files Browse the repository at this point in the history
  • Loading branch information
janvorli authored Nov 13, 2018
1 parent 79774f4 commit a589a29
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pal/src/configure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit a589a29

Please sign in to comment.