Toolchain: Update cmake platform definition

This fixes building cmake and other ports which use cmake
to detect whether we have -ldl.
This commit is contained in:
Gunnar Beutner 2021-04-25 07:21:55 +02:00 committed by Andreas Kling
parent 6a825510a0
commit e6953d14d8
Notes: sideshowbarker 2024-07-18 19:07:10 +09:00

View File

@ -1,4 +1,4 @@
set(CMAKE_DL_LIBS "")
set(CMAKE_DL_LIBS "-ldl")
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
set(CMAKE_SHARED_LIBRARY_RPATH_ORIGIN_TOKEN "\$ORIGIN")