From 994940443169ead99173cb8327e779f65b40c703 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 9 Sep 2025 19:24:28 -0400 Subject: No longer hardcode /usr/local into stuff --- src/tomo.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src') 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 " or "doas -u " @@ -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")); -- cgit v1.2.3