r15396 by craig - #9310: Avoid libdl linking on OpenBSD
scribus-commit
scribus-commit at lists.scribus.net
Wed Aug 4 00:15:09 CEST 2010
Author: craig
Date: Tue Aug 3 22:15:09 2010
New Revision: 15396
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15396
Log:
#9310: Avoid libdl linking on OpenBSD
Modified:
branches/Version135/Scribus/scribus/CMakeLists.txt
Modified: branches/Version135/Scribus/scribus/CMakeLists.txt
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15396&path=/branches/Version135/Scribus/scribus/CMakeLists.txt
==============================================================================
--- branches/Version135/Scribus/scribus/CMakeLists.txt (original)
+++ branches/Version135/Scribus/scribus/CMakeLists.txt Tue Aug 3 22:15:09 2010
@@ -756,9 +756,10 @@
)
# required to resolve symbols from libdl when ld is called with --no-add-needed
-IF(UNIX)
+# #9310 for the OpenBSD addition
+IF(UNIX AND NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
TARGET_LINK_LIBRARIES(${EXE_NAME} dl)
-ENDIF(UNIX)
+ENDIF(UNIX AND NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
IF(WIN32)
TARGET_LINK_LIBRARIES(${EXE_NAME} ${QT_QTMAIN_LIBRARY})
More information about the scribus-commit
mailing list