Add aprx (#3727)
[openwrt/svn-archive/archive.git] / net / aprx / patches / 100-Makefile_in.patch
1 diff -ruN aprx-0.22.svn115.orig/Makefile.in aprx-0.22.svn115/Makefile.in
2 --- aprx-0.22.svn115.orig/Makefile.in 2008-07-06 17:28:27.000000000 -0400
3 +++ aprx-0.22.svn115/Makefile.in 2008-07-06 17:29:42.000000000 -0400
4 @@ -25,7 +25,7 @@
5 CFLAGS= @CFLAGS@ $(DEFS)
6
7 # Linker and flags
8 -LD= @LD@
9 +LD= @CC@
10 LDFLAGS= @LDFLAGS@
11
12 INSTALL= $(srcdir)/install-sh
13 @@ -75,10 +75,10 @@
14 all: $(PROGAPRX) $(PROGSTAT) man aprx.conf
15
16 $(PROGAPRX): $(OBJSAPRX) VERSION Makefile
17 - $(LD) $(LDFLAGS) -o $@ $(OBJSAPRX) $(LIBS)
18 + $(CC) $(CFLAGS) -o $@ $(OBJSAPRX) $(LIBS)
19
20 $(PROGSTAT): $(OBJSSTAT) VERSION Makefile
21 - $(LD) $(LDFLAGS) -o $@ $(OBJSSTAT) $(LIBS)
22 + $(CC) $(CFLAGS) -o $@ $(OBJSSTAT) $(LIBS)
23
24 .PHONY: man
25 man: $(MAN)