libimobiledevice: ensure directory exists before copy

This commit is contained in:
MilhouseVH 2019-02-21 01:43:07 +00:00
parent 527ea323b8
commit f395e17adb

View File

@ -17,5 +17,6 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-largefile" --disable-largefile"
post_makeinstall_target() { post_makeinstall_target() {
cp $PKG_BUILD/common/utils.h $SYSROOT_PREFIX/usr/include/libimobiledevice/ mkdir -p "${SYSROOT_PREFIX}/usr/include/lib/libimobiledevice"
cp ${PKG_BUILD}/common/utils.h "${SYSROOT_PREFIX}/usr/include/libimobiledevice"
} }