packages/net/aprx/patches/100-Makefile_in.patch
florian a14070d187 Update aprx to 0.99 (#3805)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-24 14:06:26 +00:00

27 lines
754 B
Diff

diff -ruN aprx-0.22.svn115.orig/Makefile.in aprx-0.22.svn115/Makefile.in
--- aprx-0.22.svn115.orig/Makefile.in 2008-07-06 17:28:27.000000000 -0400
+++ aprx-0.22.svn115/Makefile.in 2008-07-06 17:29:42.000000000 -0400
@@ -25,7 +25,8 @@
CFLAGS= @CFLAGS@ $(DEFS)
# Linker and flags
-LD= @LD@
+LD= @CC@
LDFLAGS= @LDFLAGS@
+datarootdir = @datarootdir@
INSTALL= $(srcdir)/install-sh
@@ -75,10 +75,10 @@
all: $(PROGAPRX) $(PROGSTAT) man aprx.conf
$(PROGAPRX): $(OBJSAPRX) VERSION Makefile
- $(LD) $(LDFLAGS) -o $@ $(OBJSAPRX) $(LIBS)
+ $(CC) $(CFLAGS) -o $@ $(OBJSAPRX) $(LIBS)
$(PROGSTAT): $(OBJSSTAT) VERSION Makefile
- $(LD) $(LDFLAGS) -o $@ $(OBJSSTAT) $(LIBS)
+ $(CC) $(CFLAGS) -o $@ $(OBJSSTAT) $(LIBS)
.PHONY: man
man: $(MAN)