Skip to content
Browse files

Do not link dl if on FreeBSD

  • Loading branch information...
1 parent ae1221d commit 1e1385bc52bafa79dfc563823ad5f7c58584c598 @lefticus lefticus committed Mar 28, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
View
4 CMakeLists.txt
@@ -95,9 +95,9 @@ else()
add_definitions(-DCHAISCRIPT_NO_THREADS)
endif()
-if (CMAKE_HOST_UNIX)
+if (CMAKE_HOST_UNIX AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
list(APPEND LIBS "dl")
-endif(CMAKE_HOST_UNIX)
+endif()
list(APPEND LIBS ${READLINE_LIB})

0 comments on commit 1e1385b

Please sign in to comment.
Something went wrong with that request. Please try again.