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