added feature (which was expected to be) of custom HELPERDIR for some Tupfile's (btw there are still many files with same problem)

git-svn-id: svn://kolibrios.org@9781 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
vitalkrilov committed 2022-04-24 15:05:38 +00:00
1 parent 5cbb298e24
commit 3dddd1c687
3 files changed
+6 -12

No files matched your search

+2 -4
View File
@@ -1,8 +1,6 @@
if tup.getconfig("NO_TCC") ~= "" then return end
if tup.getconfig("HELPERDIR") == ""
then
HELPERDIR = "../../../../programs"
end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_tcc.lua")
link_tcc("main.c", "kmatrix");
@@ -1,8 +1,6 @@
if tup.getconfig("NO_TCC") ~= "" then return end
if tup.getconfig("HELPERDIR") == ""
then
HELPERDIR = "../../../../../programs"
end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_tcc.lua")
LIBS = "-lbox_lib"
+2 -4
View File
@@ -1,8 +1,6 @@
if tup.getconfig("NO_TCC") ~= "" then return end
if tup.getconfig("HELPERDIR") == ""
then
HELPERDIR = "../../../programs"
end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_tcc.lua")
if tup.getconfig("LANG") == "ru"