aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/proxy-libintl
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-09-15 20:40:03 -0700
committerKhem Raj <raj.khem@gmail.com>2009-09-16 21:07:01 -0700
commitf43c3adb4bfefbc663f89737927a79f79738f66f (patch)
treeab81ed7c977b119cf4481f3e3d9e2e0abe28cf07 /recipes/proxy-libintl
parent249fc51167e2ef15cc3a517c34e9e432b54f6cb1 (diff)
downloadopenembedded-f43c3adb4bfefbc663f89737927a79f79738f66f.tar.gz
openembedded-f43c3adb4bfefbc663f89737927a79f79738f66f.tar.bz2
openembedded-f43c3adb4bfefbc663f89737927a79f79738f66f.zip
glib-2.0-native_2.21.4.bb: New recipe for native glib 2.21.4
* Build shared library instead of static. * with libint.a the link order matters and generally for uclibc targets we append -lintl to LDFLAGS and sometime it gets specified before the objects and symbols do not get pulled in. Better we generate shared object so the linking order does not matter Signed-off-by: Khem Raj <raj.khem@gmail.com> glib-2.0_2.21.4.bb: Make default prefrence. * Move to INC_PR Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/proxy-libintl')
-rw-r--r--recipes/proxy-libintl/proxy-libintl_20080418.bb12
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes/proxy-libintl/proxy-libintl_20080418.bb b/recipes/proxy-libintl/proxy-libintl_20080418.bb
index dbe7b92c7e..6c625d6ba0 100644
--- a/recipes/proxy-libintl/proxy-libintl_20080418.bb
+++ b/recipes/proxy-libintl/proxy-libintl_20080418.bb
@@ -5,16 +5,18 @@ LICENSE = "LGPL"
PR = "r1"
PROVIDES = "virtual/libintl"
-
+LEAD_SONAME = "libintl.so"
SRC_URI = " \
http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/${PN}-${PV}.zip \
file://stub-only.patch;patch=1 \
+ file://create-as-shared-lib.patch;patch=1 \
"
S = "${WORKDIR}"
-FILES_${PN}-dev = "${includedir} ${libdir}"
+FILES_${PN}-dev = "${includedir}"
+FILES_${PN} = "${libdir}/libintl.so"
CFLAGS_append = " -Wall -I ../../include ${@['-DSTUB_ONLY', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']}"
@@ -32,15 +34,13 @@ do_install() {
install -d ${D}/usr/lib
install -m 0644 ${WORKDIR}/include/libintl.h ${D}/${includedir}
- install -m 0644 ${WORKDIR}/lib/libintl.a ${D}/${libdir}
+ install -m 0644 ${WORKDIR}/lib/libintl.so ${D}/${libdir}
}
do_stage() {
install -m 0644 ${WORKDIR}/include/libintl.h ${STAGING_INCDIR}/
- oe_libinstall -a -C lib libintl ${STAGING_LIBDIR}/
+ oe_libinstall -a -so -C lib libintl ${STAGING_LIBDIR}/
}
-
-