X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=include%2Fautotools.mk;h=7797031fd6143376a702ac9794d670f60d965065;hp=2851731ef3b3b5ac67514f5da7ef84c41dfc6b74;hb=fb53b99f8cbb1e95f2c9f6b8f3945eb7836e6e79;hpb=ec45087403e899842bfc79a9e164e2403b815678 diff --git a/include/autotools.mk b/include/autotools.mk index 2851731ef3..7797031fd6 100644 --- a/include/autotools.mk +++ b/include/autotools.mk @@ -39,8 +39,10 @@ define autoreconf touch NEWS AUTHORS COPYING ChangeLog; \ $(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \ -B $(STAGING_DIR_HOST)/share/aclocal \ - $(patsubst %,-B %,$(5)) \ + $(patsubst %,-I %,$(5)) \ $(patsubst %,-I %,$(4)) $(4) || true; \ + [ -e $(p)/config.rpath ] || \ + ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath; fi; \ ) \ );