mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Add support for dladdr in CMake build
This links against CMAKE_DL_LIBS, reflecting the recent change
73f2992a2
.
This commit is contained in:
parent
31348bee46
commit
cb9c077850
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ ENDFUNCTION(FISH_LINK_DEPS)
|
||||||
ADD_LIBRARY(fishlib STATIC ${FISH_SRCS})
|
ADD_LIBRARY(fishlib STATIC ${FISH_SRCS})
|
||||||
TARGET_SOURCES(fishlib PRIVATE ${FISH_HEADERS})
|
TARGET_SOURCES(fishlib PRIVATE ${FISH_HEADERS})
|
||||||
TARGET_LINK_LIBRARIES(fishlib
|
TARGET_LINK_LIBRARIES(fishlib
|
||||||
${CURSES_LIBRARIES} Threads::Threads
|
${CURSES_LIBRARIES} Threads::Threads ${CMAKE_DL_LIBS}
|
||||||
${PCRE2_LIB} muparser)
|
${PCRE2_LIB} muparser)
|
||||||
|
|
||||||
# builtin_math.cpp needs to see muParser's built header.
|
# builtin_math.cpp needs to see muParser's built header.
|
||||||
|
|
Loading…
Reference in a new issue