btrfs-progs: fix cross

This commit is contained in:
Michael Gehring 2017-07-30 16:07:41 +00:00
parent b01f86e88f
commit c5ebc35623

View file

@ -18,6 +18,12 @@ pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
pre_build() {
if [ $CROSS_BUILD ]; then
${BUILD_CC} ${BUILD_CFLAGS} kernel-lib/mktables.c -o mktables
fi
}
libbtrfs_package() {
short_desc+=" - runtime library"
pkg_install() {