summaryrefslogtreecommitdiff
path: root/recipes/obsolete/olsr/files/lib.diff
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/obsolete/olsr/files/lib.diff')
-rw-r--r--recipes/obsolete/olsr/files/lib.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/obsolete/olsr/files/lib.diff b/recipes/obsolete/olsr/files/lib.diff
new file mode 100644
index 0000000000..f3935cc53d
--- /dev/null
+++ b/recipes/obsolete/olsr/files/lib.diff
@@ -0,0 +1,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: *;
++};