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)
commita621b8c28404c402cf4b42e9b0b28a76b98fae0e
treec71115d6bfb8558738e13690e7062cd1729248f8
parent1c00b6bc7f6e8cb56aedd1ba86e5d1c49a6538f1
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>
SVN-Revision: 45759
include/package.mk