Build: Fix with-extlibs option being required for compilation
Former-commit-id: d6045b270db38412f5f323f025afb3fb85f703aa [formerly e5d7be10ada92f2351a4349b57c59b637108c4a3] Former-commit-id: 93146150699c9d9c7ad524eeccb126ea66257f26
This commit is contained in:
parent
7626f9c5e3
commit
26ccf59ddd
|
|
@ -15,7 +15,7 @@ function NazaraBuild:Execute()
|
||||||
if (self.Actions[_ACTION] == nil) then
|
if (self.Actions[_ACTION] == nil) then
|
||||||
local makeLibDir = os.is("windows") and "mingw" or "gmake"
|
local makeLibDir = os.is("windows") and "mingw" or "gmake"
|
||||||
|
|
||||||
if (#self.OrderedExtLibs > 0) then
|
if (_OPTIONS["with-extlibs"]) then
|
||||||
workspace("NazaraExtlibs")
|
workspace("NazaraExtlibs")
|
||||||
platforms(platformData)
|
platforms(platformData)
|
||||||
|
|
||||||
|
|
@ -494,7 +494,6 @@ function NazaraBuild:Initialize()
|
||||||
ACTION = nil
|
ACTION = nil
|
||||||
|
|
||||||
-- Extern libraries
|
-- Extern libraries
|
||||||
if (_OPTIONS["with-extlibs"]) then
|
|
||||||
local extlibs = os.matchfiles("../extlibs/build/*.lua")
|
local extlibs = os.matchfiles("../extlibs/build/*.lua")
|
||||||
for k,v in pairs(extlibs) do
|
for k,v in pairs(extlibs) do
|
||||||
local f, err = loadfile(v)
|
local f, err = loadfile(v)
|
||||||
|
|
@ -513,7 +512,6 @@ function NazaraBuild:Initialize()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
LIBRARY = nil
|
LIBRARY = nil
|
||||||
end
|
|
||||||
|
|
||||||
-- Then the modules
|
-- Then the modules
|
||||||
local modules = os.matchfiles("scripts/modules/*.lua")
|
local modules = os.matchfiles("scripts/modules/*.lua")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue