diff options
| -rw-r--r-- | meta/recipes-extended/libarchive/libarchive_3.1.2.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive_3.1.2.bb b/meta/recipes-extended/libarchive/libarchive_3.1.2.bb index f90dc022dc..99a924c551 100644 --- a/meta/recipes-extended/libarchive/libarchive_3.1.2.bb +++ b/meta/recipes-extended/libarchive/libarchive_3.1.2.bb | |||
| @@ -5,6 +5,8 @@ SECTION = "devel" | |||
| 5 | LICENSE = "BSD" | 5 | LICENSE = "BSD" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b4e3ffd607d6686c6cb2f63394370841" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b4e3ffd607d6686c6cb2f63394370841" |
| 7 | 7 | ||
| 8 | DEPENDS = "e2fsprogs-native" | ||
| 9 | |||
| 8 | PACKAGECONFIG ?= "libxml2 zlib bz2" | 10 | PACKAGECONFIG ?= "libxml2 zlib bz2" |
| 9 | 11 | ||
| 10 | PACKAGECONFIG_append_class-target = "\ | 12 | PACKAGECONFIG_append_class-target = "\ |
| @@ -35,4 +37,13 @@ SRC_URI[sha256sum] = "eb87eacd8fe49e8d90c8fdc189813023ccc319c5e752b01fb6ad0cc7b2 | |||
| 35 | 37 | ||
| 36 | inherit autotools-brokensep lib_package | 38 | inherit autotools-brokensep lib_package |
| 37 | 39 | ||
| 40 | CPPFLAGS += "-I${WORKDIR}/extra-includes" | ||
| 41 | |||
| 42 | do_configure[cleandirs] += "${WORKDIR}/extra-includes" | ||
| 43 | do_configure_prepend() { | ||
| 44 | # We just need the headers for some type constants, so no need to | ||
| 45 | # build all of e2fsprogs for the target | ||
| 46 | cp -R ${STAGING_INCDIR_NATIVE}/ext2fs ${WORKDIR}/extra-includes/ | ||
| 47 | } | ||
| 48 | |||
| 38 | BBCLASSEXTEND = "native nativesdk" | 49 | BBCLASSEXTEND = "native nativesdk" |
