aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-06 05:04:51 +0000
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commitdb5d4d6acf462983d9ae20cb9a964dae3608af1c (patch)
tree4c636c0b3c4593ad1e7e889b79903e0a59979767 /backend
parent97bc8bbe5dd330483b5b0a90de68624421bc2de2 (diff)
Fix sibs builds for haiku
Diffstat (limited to 'backend')
-rw-r--r--backend/ninja/Ninja.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp
index bad224a..a212280 100644
--- a/backend/ninja/Ninja.cpp
+++ b/backend/ninja/Ninja.cpp
@@ -1337,7 +1337,7 @@ namespace backend
}
// TODO: Add flag to disable -ldl and -lm (dlopen, dlclose, floor, max, ...)
-#if OS_TYPE == OS_TYPE_OPENBSD
+#if OS_TYPE == OS_TYPE_OPENBSD || OS_TYPE == OS_TYPE_HAIKU
buildExeArgs.insert(buildExeArgs.end(), {
ninja::NinjaArg::createRaw("-lm")
});
@@ -1553,7 +1553,7 @@ namespace backend
}
// TODO: Add flag to disable -ldl and -lm (dlopen, dlclose, floor, max, ...)
-#if OS_TYPE == OS_TYPE_OPENBSD
+#if OS_TYPE == OS_TYPE_OPENBSD || OS_TYPE == OS_TYPE_HAIKU
buildDynamicArgs.insert(buildDynamicArgs.end(), {
ninja::NinjaArg::createRaw("-lm")
});