X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ee190a9fd162ecf0c6bcda4795babd1e8883afe1..f53132ef54776212c6a1a670222a3cf9f0fb6dc0:/include/autotools.mk diff --git a/include/autotools.mk b/include/autotools.mk index 2851731ef..7797031fd 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; \ ) \ );