summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linux.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Linux.cmake')
-rw-r--r--Modules/Platform/Linux.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Platform/Linux.cmake b/Modules/Platform/Linux.cmake
index ec699bd..02c809e 100644
--- a/Modules/Platform/Linux.cmake
+++ b/Modules/Platform/Linux.cmake
@@ -7,4 +7,5 @@ SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
SET(CMAKE_SHARED_LIBRARY_LINK_FLAGS "-rdynamic")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-Wl,-rpath,")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP ":")
-SET(CMAKE_SHARED_LIBRARY_SONAME_FLAG "-Wl,-soname,")
+SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
+SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,")