diff mbox

[2/4] gettext: Move FILES contents to version specific file

Message ID 8a332d37de31335cada257994d797ad9d997c5de.1398237662.git.christian.braunersorensen@prevas.dk
State Superseded
Delegated to: Esben Haabendal
Headers show

Commit Message

christian.braunersorensen@prevas.dk April 23, 2014, 7:22 a.m. UTC
From: Christian Sørensen <christian.braunersorensen@prevas.dk>

The libraries libgettextlib and libgettextsrc are version specific in
contrast to the other library from gettext. Ensure they are correctly
packaged and set the filename in the version file.

Signed-off-by: Christian Sørensen <christian.braunersorensen@prevas.dk>
---
 recipes/gettext/gettext.inc         | 2 --
 recipes/gettext/gettext_0.18.1.1.oe | 3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/recipes/gettext/gettext.inc b/recipes/gettext/gettext.inc
index ac52b3a..d068a64 100644
--- a/recipes/gettext/gettext.inc
+++ b/recipes/gettext/gettext.inc
@@ -88,5 +88,3 @@  DEPENDS_${PN}-libgettextpo += "libiconv"
 DEPENDS_${PN}-libgettextlib += "libiconv ${DEPENDS_LIBNCURSES}"
 DEPENDS_${PN}-libgettextsrc += "libgettextlib libiconv ${DEPENDS_LIBNCURSES} ${DEPENDS_LIBDL} libm"
 FILES_${PN}-libintl += "${sharedlibdir}/preloadable_libintl${SOLIBSDEV}"
-FILES_${PN}-libgettextlib += "${sharedlibdir}/libgettextlib${SOLIBSDEV}"
-FILES_${PN}-libgettextsrc += "${sharedlibdir}/libgettextsrc${SOLIBSDEV}"
diff --git a/recipes/gettext/gettext_0.18.1.1.oe b/recipes/gettext/gettext_0.18.1.1.oe
index fa13e47..cae97e5 100644
--- a/recipes/gettext/gettext_0.18.1.1.oe
+++ b/recipes/gettext/gettext_0.18.1.1.oe
@@ -9,3 +9,6 @@  SRC_URI:>HOST_KERNEL_darwin = " file://osx.patch"
 
 SRC_URI:>HOST_LIBC_mingw = " file://libtool-bindir.patch"
 export sharedlibdir
+
+FILES_${PN}-libgettextlib += "${libdir}/libgettextlib-0.18.1.so"
+FILES_${PN}-libgettextsrc += "${libdir}/libgettextsrc-0.18.1.so"