diff options
Diffstat (limited to 'Modules/Platform/QNX.cmake')
-rw-r--r-- | Modules/Platform/QNX.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/Platform/QNX.cmake b/Modules/Platform/QNX.cmake index f73997a..b48383a 100644 --- a/Modules/Platform/QNX.cmake +++ b/Modules/Platform/QNX.cmake @@ -19,6 +19,10 @@ SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,") SET(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic") SET(CMAKE_EXE_EXPORTS_CXX_FLAG "-Wl,--export-dynamic") +# Shared libraries with no builtin soname may not be linked safely by +# specifying the file path. +SET(CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME 1) + # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared |