packages/net/aprx/patches/100-Makefile_in.patch
florian ed6091f2ae [package] update aprx to 2.00 r421 (#7803)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 16:36:30 +00:00

28 lines
739 B
Diff

diff -ruN aprx-2.00_r421.orig/Makefile.in aprx-2.00_r421/Makefile.in
--- aprx-2.00_r421.orig/Makefile.in 2010-06-19 15:13:47.000000000 +0000
+++ aprx-2.00_r421/Makefile.in 2010-08-22 00:14:35.000000000 +0000
@@ -27,8 +27,9 @@
CFLAGS= @CFLAGS@
# Linker and flags
-LD= @LD@
+LD= @CC@
LDFLAGS= @LDFLAGS@ $(PROF)
+datarootdir = @datarootdir@
INSTALL= $(srcdir)/install-sh
INSTALL_PROGRAM=$(INSTALL) -m 755
@@ -89,10 +90,10 @@
$(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)