require dwarf.inc

SRC_URI += "file://fix-gennames.patch"

do_install() {
    install -d ${D}${libdir} ${D}${includedir}
    install -m 0755 libdwarf.a ${D}${libdir}
    install -m 0644 dwarf.h libdwarf.h ${D}${includedir}
}

ALLOW_EMPTY_${PN} = "1"

BBCLASSEXTEND = "native"

require dwarf.inc

SRC_URI += "file://fix-gennames.patch"

do_install() {
    install -d ${D}${libdir} ${D}${includedir}/libdwarf
    install -m 0755 libdwarf.a ${D}${libdir}
    install -m 0644 dwarf.h libdwarf.h ${D}${includedir}/libdwarf
}

ALLOW_EMPTY_${PN} = "1"

BBCLASSEXTEND = "native"

Revert "libdwarf: ship header in /usr/include/ like in other distros"
Revert "libdwarf: ship header in /usr/include/ like in other distros"

This reverts commit 06cc74580f9a65f3c0f91493bacba39391a4a63f.

HipHopVM was patched to work fine with /usr/include/libdwarf/
