r15038 by mrdocs - required to resolve symbols from libdl when ld is called with --no-add-needed

scribus-commit scribus-commit at lists.scribus.net
Mon May 3 00:00:20 CEST 2010


Revision: 15038
Author: mrdocs
Date: 2010-05-02T21:50:22.519859Z
Commit message: required to resolve symbols from libdl when ld is called with --no-add-needed

Changeset: 
M  /branches/Version135/Scribus/scribus/CMakeLists.txt

Diffs:
Index: scribus/CMakeLists.txt
===================================================================
--- scribus/CMakeLists.txt	(revision 15037)
+++ scribus/CMakeLists.txt	(revision 15038)
@@ -755,6 +755,11 @@
   ${WIN32_ONLY_LIBS}
 )
 
+# required to resolve symbols from libdl when ld is called with --no-add-needed
+IF(UNIX)
+  TARGET_LINK_LIBRARIES(${EXE_NAME} dl)
+ENDIF(UNIX)
+
 IF(WIN32)
   TARGET_LINK_LIBRARIES(${EXE_NAME} ${QT_QTMAIN_LIBRARY})
 ENDIF(WIN32)




More information about the scribus-commit mailing list