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)
commit7d63795f428ef37e76c37b67fb10b2c2c708b131
tree99ae82da2b2986de14a98d01003187dc8856e04f
parent0220089fdd21bbefb585b4538593dcdc6e8a33f5
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