From 0de741a541178df6e6e56baef40fde3fcda55d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Sun, 6 Nov 2016 22:25:13 +0100 Subject: [PATCH] Build: Fix MSVC creating .a .. --- build/scripts/common.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/scripts/common.lua b/build/scripts/common.lua index 0e46c9b9c..dc340a12e 100644 --- a/build/scripts/common.lua +++ b/build/scripts/common.lua @@ -1,4 +1,7 @@ -NazaraBuild = {} -- L'équivalent d'un namespace en Lua est une table +NazaraBuild = {} + +-- I wish Premake had a way to know the compiler in advance +local clangGccActions = "action:" .. table.concat({"codeblocks", "codelite", "gmake", "xcode3", "xcode4"}, " or ") function NazaraBuild:AddExecutablePath(path) self.ExecutableDir[path] = true @@ -42,8 +45,6 @@ function NazaraBuild:Execute() return -- Alors l'utilisateur voulait probablement savoir comment utiliser le programme, on ne fait rien end - local clangGccActions = "action:" .. table.concat({"codeblocks", "codelite", "gmake", "xcode3", "xcode4"}, " or ") - local platformData if (os.is64bit()) then platformData = {"x64", "x86"}