From 20ec6f574e5027c02a06affeb986820ffe3e69d9 Mon Sep 17 00:00:00 2001 From: Michael Camilleri Date: Sat, 1 Jul 2023 19:33:38 +0900 Subject: [PATCH] Avoid removing too many symbols with strip on macOS --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a0e8e819..c6be5487 100644 --- a/Makefile +++ b/Makefile @@ -308,7 +308,7 @@ build/janet.pc: $(JANET_TARGET) install: $(JANET_TARGET) $(JANET_LIBRARY) $(JANET_STATIC_LIBRARY) build/janet.pc build/janet.h mkdir -p '$(DESTDIR)$(BINDIR)' cp $(JANET_TARGET) '$(DESTDIR)$(BINDIR)/janet' - strip '$(DESTDIR)$(BINDIR)/janet' + strip -x -S '$(DESTDIR)$(BINDIR)/janet' mkdir -p '$(DESTDIR)$(INCLUDEDIR)/janet' cp -r build/janet.h '$(DESTDIR)$(INCLUDEDIR)/janet' ln -sf ./janet/janet.h '$(DESTDIR)$(INCLUDEDIR)/janet.h'