diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ninja/Ninja.cpp | 4 |
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") }); |