diff --git a/recipes-support/netcat-openbsd/netcat-openbsd_1.105.bb b/recipes-support/netcat-openbsd/netcat-openbsd_1.105.bb index 12409d4..e27720e 100644 --- a/recipes-support/netcat-openbsd/netcat-openbsd_1.105.bb +++ b/recipes-support/netcat-openbsd/netcat-openbsd_1.105.bb @@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://../debian/copyright;md5=ee6bbaacb5db5f2973818f0902c3a DEPENDS += "glib-2.0 libbsd" +inherit pkgconfig + SRC_URI = "${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_${PV}.orig.tar.gz;name=netcat \ ${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_${PV}-7.debian.tar.gz;name=netcat-patch" @@ -31,7 +33,7 @@ python do_patch() { do_compile() { cd ${S} pkgrel=4 - oe_runmake CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${pkgrel}\\\"\"" + oe_runmake LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${pkgrel}\\\"\"" } do_install() {