Build/Package: Simplify code
Former-commit-id: de14600cdf1743f28f309fcc24d1070256901111 [formerly 9a57e456634a478f651c79d7d100af5385c9cb15] [formerly 343131484489da941cdca33470055f0daaffc197 [formerly 668828de25d45c455988ba6e4b8ee834dfdf9cb9]] Former-commit-id: 7141674ad55cdd89ce2e5646b74fc08bff9f5e3b [formerly 5250e79e3fa22eaf3ebc2cae22d8d33a4feb7b30] Former-commit-id: 9d109b01861ed8275fb95c95cd9f5d1b948f117c
This commit is contained in:
parent
e7499e2c33
commit
02c6144c99
|
|
@ -89,13 +89,13 @@ ACTION.Function = function ()
|
||||||
libFileMasks = {"**.lib", "**.a"}
|
libFileMasks = {"**.lib", "**.a"}
|
||||||
exeFileExt = ".exe"
|
exeFileExt = ".exe"
|
||||||
exeFilterFunc = function (filePath) return true end
|
exeFilterFunc = function (filePath) return true end
|
||||||
elseif (os.is("macosx")) then
|
|
||||||
binFileMasks = {"**.dynlib"}
|
|
||||||
libFileMasks = {"**.a"}
|
|
||||||
exeFileExt = ""
|
|
||||||
exeFilterFunc = function (filePath) return path.getextension(filePath):contains('/') end
|
|
||||||
else
|
else
|
||||||
binFileMasks = {"**.so"}
|
if (os.is("macosx")) then
|
||||||
|
binFileMasks = {"**.dynlib"}
|
||||||
|
else
|
||||||
|
binFileMasks = {"**.so"}
|
||||||
|
end
|
||||||
|
|
||||||
libFileMasks = {"**.a"}
|
libFileMasks = {"**.a"}
|
||||||
exeFileExt = ""
|
exeFileExt = ""
|
||||||
exeFilterFunc = function (filePath) return path.getextension(filePath):contains('/') end
|
exeFilterFunc = function (filePath) return path.getextension(filePath):contains('/') end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue