mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-11 02:35:41 +03:00
Haiku doesn't need libdl, but needs libgnu for qsort_r
This commit is contained in:
parent
f77a2be942
commit
87bdaffce3
@ -76,7 +76,10 @@ set(LUA_MODULES_PATH
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
if(HAIKU)
|
||||
# qsort_r in libgit2 requires this
|
||||
set(CMAKE_EXE_LINKER_FLAGS -lgnu)
|
||||
elseif(UNIX AND NOT APPLE)
|
||||
set(CMAKE_EXE_LINKER_FLAGS -ldl)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user