summaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-12-20 00:57:20 -0800
committerGuy Harris <guy@alum.mit.edu>2014-12-20 08:58:04 +0000
commit79b5bb418bc3834a842c86371eac47cb39706426 (patch)
tree34ca2a0c5af915e7c72fa54fb09854929d43c53c /ConfigureChecks.cmake
parenta61f6e4745d478a9badf77810b9e474133570dd1 (diff)
downloadwireshark-79b5bb418bc3834a842c86371eac47cb39706426.tar.gz
Fix typo.
One position off on the keyboard and everything falls apart. Change-Id: I00909ca3344642d3eeaae0d8563403b56cc62f79 Reviewed-on: https://code.wireshark.org/review/5912 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake11
1 files changed, 1 insertions, 10 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 26ff93d06f..5c173eb004 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -67,16 +67,7 @@ include(CheckSymbolExists)
check_function_exists("chown" HAVE_CHOWN)
cmake_push_check_state()
-#
-# XXX - this is *not* finding dladdr() on OS X (at least not on
-# Mountain Lion), even though it's available; autoconf does find
-# it. The dl* functions can be tricky, in that they might be
-# exported by the run-time linker rather than by any library,
-# so the only way to check for it that might work is "can I link
-# a program that calls this function?", not, for example, "do
-# any of these libraries define this function?"
-#
-set(CMAKE_REQUIRED_LIBRARIES %{CMAKE_DL_LIBS})
+set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_DL_LIBS})
check_function_exists("dladdr" HAVE_DLADDR)
cmake_pop_check_state()