Support installing in ~/.local

This commit is contained in:
Bruce Hill 2025-03-21 23:36:33 -04:00
parent f8e2916712
commit fa1b10ff24

View File

@ -61,9 +61,9 @@ static OptionalText_t
" -fno-signed-zeros -fno-finite-math-only -fno-signaling-nans -fno-trapping-math"
" -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -fPIC -ggdb"
" -DGC_THREADS"
" -I$HOME/.local/share/tomo/installed"),
" -I$HOME/.local/include -I$HOME/.local/share/tomo/installed"),
ldlibs = Text("-lgc -lgmp -lm -ltomo"),
ldflags = Text("-Wl,-rpath='$ORIGIN',-rpath=$HOME/.local/share/tomo/lib -L. -L$HOME/.local/share/tomo/lib"),
ldflags = Text("-Wl,-rpath='$ORIGIN',-rpath=$HOME/.local/share/tomo/lib,-rpath=$HOME/.local/lib -L. -L$HOME/.local/lib -L$HOME/.local/share/tomo/lib"),
optimization = Text("2"),
cc = Text("gcc");