summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl/openssl-0.9.8r/debian/version-script.patch
blob: 64d8fc7fa2c2b08d70b81f02e1164f7d2c51ca3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Index: openssl-0.9.8m/Configure
===================================================================
--- openssl-0.9.8m.orig/Configure	2010-02-27 12:28:32.000000000 +0100
+++ openssl-0.9.8m/Configure	2010-02-27 12:28:35.000000000 +0100
@@ -1512,6 +1512,8 @@
 		}
 	}
 
+$shared_ldflag .= " -Wl,--version-script=openssl.ld";
+
 open(IN,'<Makefile.org') || die "unable to read Makefile.org:$!\n";
 unlink("$Makefile.new") || die "unable to remove old $Makefile.new:$!\n" if -e "$Makefile.new";
 open(OUT,">$Makefile.new") || die "unable to create $Makefile.new:$!\n";
Index: openssl-0.9.8m/openssl.ld
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ openssl-0.9.8m/openssl.ld	2010-02-27 12:28:35.000000000 +0100
@@ -0,0 +1,5 @@
+OPENSSL_0.9.8 {
+	 global:
+		 *;
+};
+
Index: openssl-0.9.8m/engines/openssl.ld
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ openssl-0.9.8m/engines/openssl.ld	2010-02-27 12:28:35.000000000 +0100
@@ -0,0 +1,5 @@
+OPENSSL_0.9.8 {
+	 global:
+		 *;
+};
+