aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-15 13:13:27 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-15 13:13:27 -0400
commitd6651e0d8f5bbc7dba12003ccda023c97273ce86 (patch)
treef4a4e15c879ba8075740e3fa9a44b932f1b0cc68
parent2f3becc835549d118df3b196d01b0a2e4bc9bdc6 (diff)
Remove -lbacktrace
-rw-r--r--Makefile2
-rw-r--r--src/tomo.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2f6a4ff4..b76f4053 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ G=-ggdb
O=-Og
CFLAGS=$(CCONFIG) $(INCLUDE_DIRS) $(EXTRA) $(CWARN) $(G) $(O) $(OSFLAGS) $(LTO)
CFLAGS_PLACEHOLDER="$$(printf '\033[2m<flags...>\033[m\n')"
-LDLIBS=-lgc -lcord -lm -lunistring -lgmp -lbacktrace
+LDLIBS=-lgc -lcord -lm -lunistring -lgmp
LIBTOMO_FLAGS=-shared
ifeq ($(OS),OpenBSD)
diff --git a/src/tomo.c b/src/tomo.c
index 865af840..0a75497f 100644
--- a/src/tomo.c
+++ b/src/tomo.c
@@ -68,7 +68,7 @@ static OptionalText_t
#endif
" -DGC_THREADS"
" -I$HOME/.local/include -I$HOME/.local/share/tomo/installed -I/usr/local/include"),
- ldlibs = Text("-lgc -lm -lgmp -lunistring -lbacktrace -ltomo"),
+ ldlibs = Text("-lgc -lm -lgmp -lunistring -ltomo"),
ldflags = Text("-Wl,-rpath,'$ORIGIN',-rpath,$HOME/.local/share/tomo/lib,-rpath,$HOME/.local/lib,-rpath,/usr/local/lib "
"-L$HOME/.local/lib -L$HOME/.local/share/tomo/lib -L/usr/local/lib"),
optimization = Text("2"),