From fa358bcce18c4c6b343eb2a82475d76a6638096a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 29 Oct 2018 01:24:34 +0100 Subject: Use system specific extension for generated files --- backend/ninja/Ninja.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backend') diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 9a8dc25..6aad314 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -1472,12 +1472,12 @@ namespace backend case Compiler::MINGW_W64: case Compiler::GCC: { - generatedFile = "lib" + config.getPackageName() + ".a"; + generatedFile = "lib" + config.getPackageName() + "." + CONFIG_STATIC_LIB_FILE_EXTENSION; break; } case Compiler::MSVC: { - generatedFile = config.getPackageName() + ".lib"; + generatedFile = config.getPackageName() + "." + CONFIG_STATIC_LIB_FILE_EXTENSION; break; } } @@ -1551,12 +1551,12 @@ namespace backend case Compiler::MINGW_W64: case Compiler::GCC: { - generatedFile = "lib" + config.getPackageName() + ".so"; + generatedFile = "lib" + config.getPackageName() + "." + CONFIG_DYNAMIC_LIB_FILE_EXTENSION; break; } case Compiler::MSVC: { - generatedFile = config.getPackageName() + ".dll"; + generatedFile = config.getPackageName() + "." + CONFIG_DYNAMIC_LIB_FILE_EXTENSION; break; } } -- cgit v1.2.3