summaryrefslogtreecommitdiff
path: root/openwrt/package/socat/patches/501-honor_ldflags.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-08 15:36:03 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-08 15:36:03 +0000
commitaf136d922a3bd9b36fb8dec5e4a2808324c6bf30 (patch)
tree1c2009e2d41803c5f0e37799bc5227caf439cab6 /openwrt/package/socat/patches/501-honor_ldflags.patch
parent12ff5c5c5b87ea50c8bd6d3f444fc30930b0d202 (diff)
add socat package,
remove samba dependency on cups. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2076 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/socat/patches/501-honor_ldflags.patch')
-rw-r--r--openwrt/package/socat/patches/501-honor_ldflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/openwrt/package/socat/patches/501-honor_ldflags.patch b/openwrt/package/socat/patches/501-honor_ldflags.patch
new file mode 100644
index 0000000000..a41a929f1e
--- /dev/null
+++ b/openwrt/package/socat/patches/501-honor_ldflags.patch
@@ -0,0 +1,13 @@
+diff -ruN socat-1.4-old/Makefile.in socat-1.4-new/Makefile.in
+--- socat-1.4-old/Makefile.in 2005-09-10 22:09:11.000000000 +0200
++++ socat-1.4-new/Makefile.in 2005-10-08 17:12:45.000000000 +0200
+@@ -36,7 +36,8 @@
+
+ #0 CFLAGS = @CFLAGS@ $(CCOPTS) $(DEFS) $(INCLS)
+ CFLAGS = @CFLAGS@ $(CCOPTS) $(DEFS) $(CPPFLAGS)
+-CLIBS = $(LIBS)
++LDFLAGS = @LDFLAGS@
++CLIBS = $(LDFLAGS) $(LIBS)
+ #CLIBS = $(LIBS) -lm -lefence
+ XIOSRCS = xioinitialize.c xiohelp.c xioparam.c xiodiag.c xioopen.c xioopts.c \
+ xiosignal.c xiosigchld.c xioread.c xiowrite.c \