From f0fb0e517737860133352382ec082e4690be9b3a Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 25 May 2020 21:01:32 -0700 Subject: Start to support configurable prefix --- pkg/file/gen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/file/gen.lua') diff --git a/pkg/file/gen.lua b/pkg/file/gen.lua index 2d0426d0..b5c3b18e 100644 --- a/pkg/file/gen.lua +++ b/pkg/file/gen.lua @@ -2,7 +2,7 @@ local version = '5.37' cflags{ '-Wall', '-D HAVE_CONFIG_H', - [[-D 'MAGIC="/share/file/magic"']], + string.format([[-D 'MAGIC="%s/share/file/magic"']], config.prefix), '-D _GNU_SOURCE', '-I $dir', '-I $outdir/include', -- cgit v1.2.3