include: clean package staging dir files before configure
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 26 May 2015 09:17:13 +0000 (09:17 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 26 May 2015 09:17:13 +0000 (09:17 +0000)
commit3fe418e4e0bad06e4b33aa475261a6c0b4863600
tree99ae82da2b2986de14a98d01003187dc8856e04f
parent8182400cd32a4efc140de7559dd834c41410ff36
include: clean package staging dir files before configure

This is required to allow packages to ship libraries with a different API.
Previously the linker would favor the old shared libraries in STAGING_DIR
instead of the just compiled ones in PKG_BUILD_DIR.

Avoid that problem by clearing the package staging files right after
prepare.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45759 3c298f89-4303-0410-b956-a3cf2f4a3e73
include/package.mk