diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-09 19:24:28 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-09 19:24:28 -0400 |
| commit | 994940443169ead99173cb8327e779f65b40c703 (patch) | |
| tree | 79a9cf2d567510c802169af35a3b542135c68725 /src | |
| parent | bf18b23ff27bf2106292d54256f2a0c4ffbbcd44 (diff) | |
No longer hardcode /usr/local into stuff
Diffstat (limited to 'src')
| -rw-r--r-- | src/tomo.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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")); |
