r16158 by jghali - #9609: plugin loading error on OpenBSD

scribus-commit scribus-commit at lists.scribus.net
Thu Dec 23 11:42:51 CET 2010


Author: jghali
Date: Thu Dec 23 10:42:51 2010
New Revision: 16158

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16158
Log:
#9609: plugin loading error 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=16158&path=/branches/Version135/Scribus/scribus/CMakeLists.txt
==============================================================================
--- branches/Version135/Scribus/scribus/CMakeLists.txt (original)
+++ branches/Version135/Scribus/scribus/CMakeLists.txt Thu Dec 23 10:42:51 2010
@@ -723,13 +723,13 @@
 ENDIF(WIN32)
 
 ##TEST FIX FOR 6897
-IF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+IF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
 # Use the -E / --export-dynamic flag to ensure that symbols in the Scribus
 # binary are in the public symbol table for plugins. The symbols must also
 # be set as SCRIBUS_API if we're building with -fvisibility=hidden .
 # Should fix bug 6897 .
   SET_TARGET_PROPERTIES(${EXE_NAME} PROPERTIES LINK_FLAGS -Wl,-E)
-ENDIF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+ENDIF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
 IF (GCC AND NOT WIN32)
 # Use the -E / --export-dynamic flag to ensure that symbols in the Scribus
 # binary are in the public symbol table for plugins. The symbols must also




More information about the scribus-commit mailing list