liblo: moved to github
[openwrt.org/packages.git] / net / 501-honor_ldflags.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/Makefile.in
+++ b/Makefile.in
@@ -38,7 +38,8 @@ INSTALL = @INSTALL@
 
 #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 \
 
comments