summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2022-06-13 10:50:40 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2022-06-13 10:50:40 -0400
commit3809ab0eb8dbc37a62336e62b5fe211e89b3d8e9 (patch)
treec52ddbf83c6624caeb4bff5163da2e402f89e6c9
parent9bc82c8f884eda41fdb68f4862a83ee03ebcc8d2 (diff)
downloadlibgit2-3809ab0eb8dbc37a62336e62b5fe211e89b3d8e9.tar.gz
cmake: add `gnu` library for Haiku
-rw-r--r--src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b04339f0e..58e58259a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -120,8 +120,8 @@ if(CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS)")
endif()
if(CMAKE_SYSTEM_NAME MATCHES "Haiku")
- list(APPEND LIBGIT2_SYSTEM_LIBS network)
- list(APPEND LIBGIT2_PC_LIBS "-lnetwork")
+ list(APPEND LIBGIT2_SYSTEM_LIBS gnu network)
+ list(APPEND LIBGIT2_PC_LIBS "-lgnu -lnetwork")
endif()
if(AMIGA)