summaryrefslogtreecommitdiff
path: root/packages/olsrd/files/lib.diff
blob: f3935cc53d3cf95df89fba0329bce128f2c3c636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff -Nurb olsrd-0.4.7/Makefile olsrd-0.4.7.ver/Makefile
--- olsrd-0.4.7/Makefile	2004-09-07 18:10:24.000000000 +0200
+++ olsrd-0.4.7.ver/Makefile	2004-11-05 13:12:34.253350872 +0100
@@ -57,7 +57,7 @@
 
 libs: 
 	for i in lib/*; do \
-		$(MAKE) -C $$i; \
+		$(MAKE) LDFLAGS+=-Wl,--version-script=../../version.txt -C $$i; \
 	done; 
 
 clean_libs: 
diff -Nurb olsrd-0.4.7/version.txt olsrd-0.4.7.ver/version.txt
--- olsrd-0.4.7/version.txt	1970-01-01 01:00:00.000000000 +0100
+++ olsrd-0.4.7.ver/version.txt	2004-11-05 13:10:24.731041256 +0100
@@ -0,0 +1,7 @@
+VERS_1.0 {
+   global:
+        plugin_interface_version;
+        plugin_io;
+        register_olsr_data;
+   local: *;
+};