summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <thomas.voss@humanwave.nl> 2025-09-11 10:35:44 +0200
committerThomas Voss <thomas.voss@humanwave.nl> 2025-09-11 10:35:44 +0200
commit207515bc705f8bb7b2951e5986492b4b4b0ea45f (patch)
tree4a20d80d43be150d1c043a6215e1f31bd671098b
parentdb3a55e1991f45fa38b450fedbd6375ea0dc613a (diff)
Fix build script
-rw-r--r--make.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/make.c b/make.c
index cb792e4..38284e7 100644
--- a/make.c
+++ b/make.c
@@ -219,6 +219,7 @@ tiktok(void)
char *dash_I = xmalloc(brewbufsz + sizeof("-I/include"));
char *dash_L = xmalloc(brewbufsz + sizeof("-L/lib"));
+ brewbuf[brewbufsz - 1] = 0;
sprintf(dash_I, "-I%s/include", brewbuf);
sprintf(dash_L, "-L%s/lib", brewbuf);