Update socat to 1.6.0.1 (#3654)
[openwrt/svn-archive/archive.git] / net / socat / patches / 501-honor_ldflags.patch
1 --- a/Makefile.in
2 +++ b/Makefile.in
3 @@ -37,7 +37,8 @@
4
5 #0 CFLAGS = @CFLAGS@ $(CCOPTS) $(DEFS) $(INCLS)
6 CFLAGS = @CFLAGS@ $(CCOPTS) $(DEFS) $(CPPFLAGS)
7 -CLIBS = $(LIBS)
8 +LDFLAGS = @LDFLAGS@
9 +CLIBS = $(LDFLAGS) $(LIBS)
10 #CLIBS = $(LIBS) -lm -lefence
11 XIOSRCS = xioinitialize.c xiohelp.c xioparam.c xiodiag.c xioopen.c xioopts.c \
12 xiosignal.c xiosigchld.c xioread.c xiowrite.c \