diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-04-29 09:17:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-09 10:47:51 +0100 |
commit | 30394ba0d4cf2b4984834124504dabc2923624df (patch) | |
tree | a33967070873b56f42f6214963c16f2346b7075b /meta/recipes-extended/libnsl/libnsl2_git.bb | |
parent | 7d29f786f662d12c5876d7358b86980a65c10dcf (diff) | |
download | poky-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/recipes-extended/libnsl/libnsl2_git.bb')
-rw-r--r-- | meta/recipes-extended/libnsl/libnsl2_git.bb | 11 |
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 | ||
22 | inherit autotools pkgconfig gettext | 22 | inherit autotools pkgconfig gettext |
23 | 23 | ||
24 | EXTRA_OECONF += "--libdir=${libdir}/nsl --includedir=${includedir}/nsl" | 24 | BBCLASSEXTEND = "native nativesdk" |
25 | |||
26 | do_install_append() { | ||
27 | install -d ${D}${libdir} | ||
28 | mv ${D}${libdir}/nsl/pkgconfig ${D}${libdir} | ||
29 | } | ||
30 | |||
31 | FILES_${PN} += "${libdir}/nsl/*.so.*" | ||
32 | FILES_${PN}-dev += "${includedir}/nsl ${libdir}/nsl/*.so" | ||
33 | FILES_${PN}-staticdev += "${libdir}/nsl/*.a" | ||