Port socat to -ng
[openwrt/svn-archive/archive.git] / net / socat / patches / 501-honor_ldflags.patch
1 diff -ruN socat-1.4-old/Makefile.in socat-1.4-new/Makefile.in
2 --- socat-1.4-old/Makefile.in 2005-09-10 22:09:11.000000000 +0200
3 +++ socat-1.4-new/Makefile.in 2005-10-08 17:12:45.000000000 +0200
4 @@ -36,7 +36,8 @@
5
6 #0 CFLAGS = @CFLAGS@ $(CCOPTS) $(DEFS) $(INCLS)
7 CFLAGS = @CFLAGS@ $(CCOPTS) $(DEFS) $(CPPFLAGS)
8 -CLIBS = $(LIBS)
9 +LDFLAGS = @LDFLAGS@
10 +CLIBS = $(LDFLAGS) $(LIBS)
11 #CLIBS = $(LIBS) -lm -lefence
12 XIOSRCS = xioinitialize.c xiohelp.c xioparam.c xiodiag.c xioopen.c xioopts.c \
13 xiosignal.c xiosigchld.c xioread.c xiowrite.c \