aboutsummaryrefslogtreecommitdiffstats
path: root/package/serdisplib/patches/101-test_shared.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2005-12-12 20:40:01 +0000
committerFlorian Fainelli <florian@openwrt.org>2005-12-12 20:40:01 +0000
commit936ba6f7b045ecf07167b5019b326f54cbf37f46 (patch)
tree4956079f7dfe1523683dad42a235e73897a3a2db /package/serdisplib/patches/101-test_shared.patch
parentb6de1c1cf9584fea0a39693a6a534ff71c6b3ef2 (diff)
downloadmaster-187ad058-936ba6f7b045ecf07167b5019b326f54cbf37f46.tar.gz
master-187ad058-936ba6f7b045ecf07167b5019b326f54cbf37f46.tar.bz2
master-187ad058-936ba6f7b045ecf07167b5019b326f54cbf37f46.zip
Added serdisplib, thanks to Christoph Haderer for the package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2642 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/serdisplib/patches/101-test_shared.patch')
-rw-r--r--package/serdisplib/patches/101-test_shared.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/serdisplib/patches/101-test_shared.patch b/package/serdisplib/patches/101-test_shared.patch
new file mode 100644
index 0000000000..af0cd5d387
--- /dev/null
+++ b/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*