# HG changeset patch # User Sebastien Jodogne # Date 1438257230 -7200 # Node ID bd68285248b77d929568da396475c745bbbb2ae2 # Parent 05ac3f595ba56b4726f98222c9ab12ee80443362 cont diff -r 05ac3f595ba5 -r bd68285248b7 CMakeLists.txt --- a/CMakeLists.txt Thu Jul 30 12:36:22 2015 +0200 +++ b/CMakeLists.txt Thu Jul 30 13:53:50 2015 +0200 @@ -130,7 +130,7 @@ endif() if (CMAKE_COMPILER_IS_GNUCXX) - SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--version-script=${CMAKE_SOURCE_DIR}/Resources/VersionScript.map -Wl,--no-undefined") + SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--version-script=${CMAKE_SOURCE_DIR}/Orthanc/Plugins/Samples/Common/VersionScript.map -Wl,--no-undefined") endif() diff -r 05ac3f595ba5 -r bd68285248b7 Orthanc/Plugins/Samples/Common/VersionScript.map --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Orthanc/Plugins/Samples/Common/VersionScript.map Thu Jul 30 13:53:50 2015 +0200 @@ -0,0 +1,12 @@ +# This is a version-script for Orthanc plugins + +{ +global: + OrthancPluginInitialize; + OrthancPluginFinalize; + OrthancPluginGetName; + OrthancPluginGetVersion; + +local: + *; +}; diff -r 05ac3f595ba5 -r bd68285248b7 Resources/SyncOrthancFolder.py --- a/Resources/SyncOrthancFolder.py Thu Jul 30 12:36:22 2015 +0200 +++ b/Resources/SyncOrthancFolder.py Thu Jul 30 13:53:50 2015 +0200 @@ -56,6 +56,7 @@ 'Core/Toolbox.h', 'Core/Uuid.cpp', 'Core/Uuid.h', + 'Plugins/Samples/Common/VersionScript.map', 'Resources/EmbedResources.py', 'Resources/MinGWToolchain.cmake', 'Resources/MinGW-W64-Toolchain32.cmake', diff -r 05ac3f595ba5 -r bd68285248b7 Resources/VersionScript.map --- a/Resources/VersionScript.map Thu Jul 30 12:36:22 2015 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -# This is a version-script for Orthanc plugins - -{ -global: - OrthancPluginInitialize; - OrthancPluginFinalize; - OrthancPluginGetName; - OrthancPluginGetVersion; - -local: - *; -};