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

scribus-commit scribus-commit at lists.scribus.net
Thu Dec 23 11:41:27 CET 2010


Author: jghali
Date: Thu Dec 23 10:41:27 2010
New Revision: 16157

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16157
Log:
#9609: plugin loading error on OpenBSD

Modified:
    trunk/Scribus/scribus/CMakeLists.txt

Modified: trunk/Scribus/scribus/CMakeLists.txt
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16157&path=/trunk/Scribus/scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/CMakeLists.txt Thu Dec 23 10:41:27 2010
@@ -963,13 +963,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