diff options
Diffstat (limited to 'backend/ninja')
-rw-r--r-- | backend/ninja/Ninja.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 69b480e..87370cf 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -1295,6 +1295,8 @@ namespace backend projectGeneratedBinary += "/"; string noUndefinedFlag; +// TODO: This causes issues with -ldl in bgfx example, where dlclose symbol is not found even though it's linked with -ldl +#if 0 if(!onlyZigFiles) { bool isCompilerClangLike = (compilerType == RuntimeCompilerType::CLANG) || (compilerType == RuntimeCompilerType::EMSCRIPTEN); @@ -1303,6 +1305,7 @@ namespace backend else noUndefinedFlag = isCompilerClangLike ? "-Wl,-undefined,error" : "-Wl,--no-undefined,--as-needed"; } +#endif ninja::NinjaVariable zigObjectArgs("object_args"); string objectZigArgs; |