summaryrefslogtreecommitdiff
path: root/obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.1.2-openwrt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.1.2-openwrt.patch')
-rw-r--r--obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.1.2-openwrt.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.1.2-openwrt.patch b/obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.1.2-openwrt.patch
new file mode 100644
index 0000000000..dfd8b5d954
--- /dev/null
+++ b/obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.1.2-openwrt.patch
@@ -0,0 +1,14 @@
+diff -ruN matrixssl-1.1.2-old/src/Makefile matrixssl-1.1.2-new/src/Makefile
+--- matrixssl-1.1.2-old/src/Makefile 2004-06-10 21:03:25.000000000 +0200
++++ matrixssl-1.1.2-new/src/Makefile 2004-07-09 22:58:06.000000000 +0200
+@@ -46,8 +46,8 @@
+ # Compile options
+ #
+ SHARED = -shared
+-CFLAGS = $(DFLAGS) -DLINUX
+-LDFLAGS = -nostdlib -lc -lpthread
++CFLAGS = $(DFLAGS) -DLINUX -fPIC
++LDFLAGS = -lc -lpthread -Wl,-soname,libmatrixssl.so.1.2
+
+ #
+ # Override variables for compilation on Mac OS X (Darwin)