termux-packages/packages/libsophia/makefile.patch
2022-02-09 12:48:24 +09:00

13 lines
351 B
Diff

--- a/makefile
+++ b/makefile
@@ -45,9 +45,6 @@
@$(CC) sophia.o $(SOPHIA_LDFLAGS) -o libsophia.so.2.2.0
@ln -sf libsophia.so.2.2.0 libsophia.so.2.2
@ln -sf libsophia.so.2.2.0 libsophia.so
-ifeq ($(shell uname), Linux)
- @strip --strip-unneeded libsophia.so.2.2.0
-endif
ifeq ($(shell uname), Darwin)
@strip -u -r -x libsophia.so.2.2.0
endif