aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-09 19:24:28 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-09 19:24:28 -0400
commit994940443169ead99173cb8327e779f65b40c703 (patch)
tree79a9cf2d567510c802169af35a3b542135c68725
parentbf18b23ff27bf2106292d54256f2a0c4ffbbcd44 (diff)
No longer hardcode /usr/local into stuff
-rw-r--r--src/tomo.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/tomo.c b/src/tomo.c
index 7ec8a854..a50c9e09 100644
--- a/src/tomo.c
+++ b/src/tomo.c
@@ -88,10 +88,9 @@ static OptionalText_t show_codegen = NONE_TEXT,
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
" -D_BSD_SOURCE"
#endif
- " -DGC_THREADS"
- " -I/usr/local/include"),
- ldlibs = Text("-lgc -lm -lgmp -lunistring -ltomo_" TOMO_VERSION),
- ldflags = Text(" -L/usr/local/lib"), optimization = Text("2"), cc = Text(DEFAULT_C_COMPILER);
+ " -DGC_THREADS"),
+ ldlibs = Text("-lgc -lm -lgmp -lunistring -ltomo_" TOMO_VERSION), ldflags = Text(""),
+ optimization = Text("2"), cc = Text(DEFAULT_C_COMPILER);
static Text_t config_summary,
// This will be either "" or "sudo -u <user>" or "doas -u <user>"
@@ -265,7 +264,7 @@ int main(int argc, char *argv[]) {
cflags = Texts(cflags, Text(" -Wno-parentheses-equality"));
}
- ldflags = Texts("-Wl,-rpath,'", TOMO_PATH, "/lib',-rpath,/usr/local/lib ", ldflags);
+ ldflags = Texts("-Wl,-rpath,'", TOMO_PATH, "/lib' ", ldflags);
#ifdef __APPLE__
cflags = Texts(cflags, Text(" -I/opt/homebrew/include"));