summaryrefslogtreecommitdiff
path: root/openwrt/package/serdisplib/patches/101-test_shared.patch
diff options
context:
space:
mode:
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*