summaryrefslogtreecommitdiff
path: root/pkg/file/gen.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/file/gen.lua')
-rw-r--r--pkg/file/gen.lua2
1 files changed, 1 insertions, 1 deletions
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',