diff options
| author | Randy Palamar <palamar@ualberta.ca> | 2023-10-04 16:44:29 -0600 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2023-10-04 19:51:10 -0700 |
| commit | 59500f932f45eb213970d55082749ebedf29ffd0 (patch) | |
| tree | f303c85bd2c1e7524eb879c7954460d8fa849844 /pkg/git/gen.lua | |
| parent | 07cb5a592199389495b03d8f12c55c831faf5c4f (diff) | |
git: apply config.prefix to paths
see #15: Support configurable PREFIX
Diffstat (limited to 'pkg/git/gen.lua')
| -rw-r--r-- | pkg/git/gen.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/git/gen.lua b/pkg/git/gen.lua index ff45e433..89239fa9 100644 --- a/pkg/git/gen.lua +++ b/pkg/git/gen.lua @@ -31,7 +31,7 @@ build('hooklist', '$outdir/hook-list.h', { '|', '$srcdir/generate-hooklist.sh', '$srcdir/Documentation/githooks.txt' }) -cc('exec-cmd.c', nil, {cflags=[[$cflags '-DFALLBACK_RUNTIME_PREFIX=""']]}) +cc('exec-cmd.c', nil, {cflags=string.format([[$cflags '-DFALLBACK_RUNTIME_PREFIX="%s"']], config.prefix)}) cc('common-main.c') cc('http.c') cc('compat/regex/regex.c', nil, {cflags='$cflags -DGAWK -DNO_MBSUPPORT'}) |
