[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH 23/24] ppp: Install net/ppp_defs.h on musl
From:       Khem Raj <raj.khem () gmail ! com>
Date:       2018-04-29 19:36:10
Message-ID: 98928704cb26b5646fc39c18c0f007504caa52cf.1525029885.git.raj.khem () gmail ! com
[Download RAW message or body]

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 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-connectivity/ppp/ppp_2.4.7.bb \
b/meta/recipes-connectivity/ppp/ppp_2.4.7.bb index a5f764f6ec..a1bb7d71c1 100644
--- a/meta/recipes-connectivity/ppp/ppp_2.4.7.bb
+++ b/meta/recipes-connectivity/ppp/ppp_2.4.7.bb
@@ -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"
-- 
2.17.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic