diff --git a/programs/other/pipet/Tupfile.lua b/programs/other/pipet/Tupfile.lua index 71502727e..1a713205e 100644 --- a/programs/other/pipet/Tupfile.lua +++ b/programs/other/pipet/Tupfile.lua @@ -1,2 +1,4 @@ if tup.getconfig("NO_FASM") ~= "" then return end +HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") +tup.include(HELPERDIR .. "/use_fasm.lua") tup.rule("pipet.asm", FASM .. " -dlang=" .. tup.getconfig("LANG") .. " %f %o" .. tup.getconfig("KPACK_CMD"), "%B")