r24672 by jghali - #16593: Plugin load fails with undefined symbols (for all plugins) <yopito>

scribus-commit scribus-commit at lists.scribus.net
Sun Jun 13 11:40:24 UTC 2021


Author: jghali
Date: Sun Jun 13 11:40:23 2021
New Revision: 24672

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24672
Log:
#16593: Plugin load fails with undefined symbols (for all plugins) <yopito>

Modified:
    trunk/Scribus/scribus/CMakeLists.txt

Modified: trunk/Scribus/scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24672&path=/trunk/Scribus/scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/CMakeLists.txt	(original)
+++ trunk/Scribus/scribus/CMakeLists.txt	Sun Jun 13 11:40:23 2021
@@ -761,7 +761,7 @@
 # Should fix bug 6897 .
 	set_target_properties(${EXE_NAME} PROPERTIES LINK_FLAGS -Wl,-E)
 endif ()
-if (GCC AND NOT WIN32)
+if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" 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
 # be set as SCRIBUS_API if we're building with -fvisibility=hidden .




More information about the scribus-commit mailing list