summaryrefslogtreecommitdiff
path: root/openwrt/package/serdisplib/patches/101-test_shared.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-12 20:40:01 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-12 20:40:01 +0000
commita4cd93cbb3d6368a0a82ba15da92688cb9815060 (patch)
tree866d3b33183cf0feb6f3f596c909d86714c54320 /openwrt/package/serdisplib/patches/101-test_shared.patch
parent9d888c95ca2c03f041aa12ac9a505d6ff313580d (diff)
Added serdisplib, thanks to Christoph Haderer for the package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2642 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/serdisplib/patches/101-test_shared.patch')
-rw-r--r--openwrt/package/serdisplib/patches/101-test_shared.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/package/serdisplib/patches/101-test_shared.patch b/openwrt/package/serdisplib/patches/101-test_shared.patch
new file mode 100644
index 0000000000..af0cd5d387
--- /dev/null
+++ b/openwrt/package/serdisplib/patches/101-test_shared.patch
@@ -0,0 +1,14 @@
+diff -ru serdisplib-1.96.orig/src/Makefile.in serdisplib-1.96/src/Makefile.in
+--- serdisplib-1.96.orig/src/Makefile.in 2005-10-19 01:12:42.000000000 +0200
++++ serdisplib-1.96/src/Makefile.in 2005-12-12 19:18:12.000000000 +0200
+@@ -73,8 +73,8 @@
+ $(CC) -fPIC -shared -o $(LIB_DIR)/$(LIB_SHARED) $(LIB_OBJECTS)
+ cd $(LIB_DIR) && $(LN_S) -f $(LIB_SHARED) $(LIB_NAME).so
+
+-testserdisp: $(LIB_DIR)/$(LIB_STATIC) $(OBJECTS)
+- $(CC) -o testserdisp $(OBJECTS) $(LIB_DIR)/$(LIB_STATIC)
++testserdisp: $(LIB_DIR)/$(LIB_SHARED) $(OBJECTS)
++ $(CC) -o testserdisp $(OBJECTS) $(LIB_DIR)/$(LIB_SHARED)
+
+ clean:
+ /bin/rm -f $(OBJECTS) $(LIB_OBJECTS) $(LIB_DIR)/*.a $(LIB_DIR)/*.so*