Skip to content

Commit

Permalink
Toolchain: Update cmake platform definition
Browse files Browse the repository at this point in the history
This fixes building cmake and other ports which use cmake
to detect whether we have -ldl.
  • Loading branch information
gunnarbeutner authored and awesomekling committed Apr 25, 2021
1 parent 6a82551 commit e6953d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Toolchain/CMake/Platform/SerenityOS.cmake
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit e6953d1

Please sign in to comment.