/trunk/Scribus/scribus/CMakeLists.txt |
---|
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 . |