501-honor_ldflags.patch 564 B

12345678910111213
  1. diff -ruN socat-1.4-old/Makefile.in socat-1.4-new/Makefile.in
  2. --- socat-1.7.2.2.orig/Makefile.in 2011-12-06 08:45:03.000000000 +0100
  3. +++ socat-1.7.2.2/Makefile.in 2013-12-24 16:37:21.000000000 +0100
  4. @@ -38,7 +38,8 @@ INSTALL = @INSTALL@
  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 \