summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-04-29 09:17:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-09 10:47:51 +0100
commit30394ba0d4cf2b4984834124504dabc2923624df (patch)
treea33967070873b56f42f6214963c16f2346b7075b /meta
parent7d29f786f662d12c5876d7358b86980a65c10dcf (diff)
downloadpoky-30394ba0d4cf2b4984834124504dabc2923624df.tar.gz
libnsl2: Install into /usr/include and /usr/lib
Extend to native and nativesdk variants (From OE-Core rev: d3589298f5ae0bdedbc1f265ed964841a9d11cfd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/libnsl/libnsl2_git.bb11
1 files changed, 1 insertions, 10 deletions
diff --git a/meta/recipes-extended/libnsl/libnsl2_git.bb b/meta/recipes-extended/libnsl/libnsl2_git.bb
index c6ba80c943..c3a24face1 100644
--- a/meta/recipes-extended/libnsl/libnsl2_git.bb
+++ b/meta/recipes-extended/libnsl/libnsl2_git.bb
@@ -21,13 +21,4 @@ S = "${WORKDIR}/git"
21 21
22inherit autotools pkgconfig gettext 22inherit autotools pkgconfig gettext
23 23
24EXTRA_OECONF += "--libdir=${libdir}/nsl --includedir=${includedir}/nsl" 24BBCLASSEXTEND = "native nativesdk"
25
26do_install_append() {
27 install -d ${D}${libdir}
28 mv ${D}${libdir}/nsl/pkgconfig ${D}${libdir}
29}
30
31FILES_${PN} += "${libdir}/nsl/*.so.*"
32FILES_${PN}-dev += "${includedir}/nsl ${libdir}/nsl/*.so"
33FILES_${PN}-staticdev += "${libdir}/nsl/*.a"