include: clean package staging dir files before configure
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 26 May 2015 09:17:13 +0000 (09:17 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 26 May 2015 09:17:13 +0000 (09:17 +0000)
commit87ea10f70addf7f38acc8775715d3d2dafd4a539
tree99ae82da2b2986de14a98d01003187dc8856e04f
parent34ed2c564aef5d0ff1dd47ab56a201f56c2206f5
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