]> code.ossystems Code Review - openembedded-core.git/commitdiff
ppp: Install net/ppp_defs.h on musl
authorKhem Raj <raj.khem@gmail.com>
Sun, 29 Apr 2018 16:18:20 +0000 (09:18 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 May 2018 09:47:27 +0000 (10:47 +0100)
This header is used by other apps e.g. ippool
glibc provides an internal version which it should not

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-connectivity/ppp/ppp_2.4.7.bb

index a5f764f6ec08e8fc42b9d750ead11e1d02923f56..a1bb7d71c15683e2064588d902b06fb09fc06b9e 100644 (file)
@@ -80,6 +80,10 @@ do_install_append () {
        chmod u+s ${D}${sbindir}/pppd
 }
 
+do_install_append_libc-musl () {
+       install -Dm 0644 ${S}/include/net/ppp_defs.h ${D}${includedir}/net/ppp_defs.h
+}
+
 CONFFILES_${PN} = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets ${sysconfdir}/ppp/options"
 PACKAGES =+ "${PN}-oa ${PN}-oe ${PN}-radius ${PN}-winbind ${PN}-minconn ${PN}-password ${PN}-l2tp ${PN}-tools"
 FILES_${PN}        = "${sysconfdir} ${bindir} ${sbindir}/chat ${sbindir}/pppd ${systemd_unitdir}/system/ppp@.service"