ackbuilder rules files now require absolute paths in external variables

(otherwise commands which change directory don't work).
This commit is contained in:
David Given
2016-07-18 23:16:27 +02:00
parent 523374c36b
commit 2d2497c318
4 changed files with 13 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ cprogram {
-- do this.
srcs = { "./src/*.c" },
cflags = { "-DLIBDIR=\\\""..abspath("util/LLgen/lib").."\\\"", "-DNON_CORRECTING" },
cflags = { "-DLIBDIR=\\\""..posix.getcwd().."/"..cwd().."/lib\\\"", "-DNON_CORRECTING" },
}
definerule("llgen",