summaryrefslogtreecommitdiff
path: root/libgsm-makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libgsm-makefile.patch')
-rw-r--r--libgsm-makefile.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/libgsm-makefile.patch b/libgsm-makefile.patch
index b242412..0346966 100644
--- a/libgsm-makefile.patch
+++ b/libgsm-makefile.patch
@@ -88,7 +88,7 @@
@-echo $(ROOT): Done.
tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
-@@ -298,24 +304,38 @@
+@@ -298,24 +304,37 @@
# The basic API: libgsm
@@ -112,8 +112,7 @@
+# cd shared; $(CC) -shared -Wl -soname libgsm.so.2 -o libgsm.so.2.0 *.o
+
+$(LIBGSMSO): shared $(GSM_SHOBJECTS)
-+ cd shared; ld -o ../lib/libgsm.so.1.0.10 -shared -soname libgsm.so.1 *.o
-+ strip --strip-unneeded $(LIBGSMSO).1.0.10
++ cd shared; $(CC) -o ../lib/libgsm.so.1.0.10 -shared -Wl,-soname=libgsm.so.1 *.o
+
+
# Toast, Untoast and Tcat -- the compress-like frontends to gsm.