From b08e503eb75f1e6fee65cea4c03d18ad91e7a217 Mon Sep 17 00:00:00 2001 From: "Callaghan, Dan" Date: Fri, 4 Oct 2019 13:35:47 +1000 Subject: strongswan: install dev headers These are needed for other packages which want to link against libstrongswan or other libraries included with Strongswan. By default, no headers are installed. Signed-off-by: Khem Raj --- meta-networking/recipes-support/strongswan/strongswan_5.8.1.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta-networking/recipes-support/strongswan/strongswan_5.8.1.bb') diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.8.1.bb b/meta-networking/recipes-support/strongswan/strongswan_5.8.1.bb index 9310a93fe3..5408eed275 100644 --- a/meta-networking/recipes-support/strongswan/strongswan_5.8.1.bb +++ b/meta-networking/recipes-support/strongswan/strongswan_5.8.1.bb @@ -19,6 +19,7 @@ UPSTREAM_CHECK_REGEX = "strongswan-(?P\d+(\.\d+)+)\.tar" EXTRA_OECONF = " \ --without-lib-prefix \ + --with-dev-headers=${includedir}/strongswan \ " EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" @@ -48,7 +49,7 @@ RRECOMMENDS_${PN} = "kernel-module-ipsec" FILES_${PN} += "${libdir}/ipsec/lib*${SOLIBS}" FILES_${PN}-dbg += "${bindir}/.debug ${sbindir}/.debug ${libdir}/ipsec/.debug ${libexecdir}/ipsec/.debug" -FILES_${PN}-dev += "${libdir}/ipsec/lib*${SOLIBSDEV} ${libdir}/ipsec/*.la" +FILES_${PN}-dev += "${libdir}/ipsec/lib*${SOLIBSDEV} ${libdir}/ipsec/*.la ${libdir}/ipsec/include/config.h" FILES_${PN}-staticdev += "${libdir}/ipsec/*.a" CONFFILES_${PN} = "${sysconfdir}/*.conf ${sysconfdir}/ipsec.d/*.conf ${sysconfdir}/strongswan.d/*.conf" -- cgit 1.2.3-korg