libdnet: fix build out of source

This commit is contained in:
Sascha Kuehndel (InuSasha) 2018-06-11 18:28:03 +02:00
parent 2a8448beb8
commit e5ad0dbcfc
No known key found for this signature in database
GPG Key ID: 15FED89617B88D1B

View File

@ -35,3 +35,12 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_strlcat=no \
--enable-static \
--disable-shared \
--disable-python"
pre_configure_target() {
export CFLAGS+=" -I$PKG_BUILD/include"
}
post_makeinstall_target() {
cp $SYSROOT_PREFIX/usr/bin/dnet-config \
$TOOLCHAIN/bin/dnet-config
}