summaryrefslogtreecommitdiff
path: root/package/libglib2/libglib2.mk
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-01-14 01:02:36 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-01-14 01:02:36 +0000
commit999e5db6d55643590b3b414590441abce89dc111 (patch)
treed177a72299d22c79dfc3649a71d7e05c1304c472 /package/libglib2/libglib2.mk
parentd67d790dd17b8a0e13aabed13f302cfde9cc3057 (diff)
Make sure to install the 'libgthread' shared libraries as well. Also, allow for configuration of locale support or not.
Diffstat (limited to 'package/libglib2/libglib2.mk')
-rw-r--r--package/libglib2/libglib2.mk12
1 files changed, 11 insertions, 1 deletions
diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk
index 8742613b8..a2b26253b 100644
--- a/package/libglib2/libglib2.mk
+++ b/package/libglib2/libglib2.mk
@@ -138,15 +138,25 @@ $(TARGET_DIR)/lib/libglib-2.0.so.0.1200.6: $(STAGING_DIR)/lib/$(LIBGLIB2_BINARY)
cp -a $(STAGING_DIR)/lib/libgmodule-2.0.so.0* $(TARGET_DIR)/lib/
cp -a $(STAGING_DIR)/lib/libgobject-2.0.so $(TARGET_DIR)/lib/
cp -a $(STAGING_DIR)/lib/libgobject-2.0.so.0* $(TARGET_DIR)/lib/
+ cp -a $(STAGING_DIR)/lib/libgthread-2.0.so $(TARGET_DIR)/lib/
+ cp -a $(STAGING_DIR)/lib/libgthread-2.0.so.0* $(TARGET_DIR)/lib/
$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libglib-2.0.so.0.*
$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libgmodule-2.0.so.0.*
$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libgobject-2.0.so.0.*
+ $(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libgthread-2.0.so.0.*
touch -c $(TARGET_DIR)/lib/libglib-2.0.so.0.1200.6
+ifeq ($(strip $(BR2_PACKAGE_LIBGLIB2_LOCAL)),y)
libglib2: uclibc gettext libintl pkgconfig $(TARGET_DIR)/lib/libglib-2.0.so.0.1200.6
+else
+libglib2: uclibc $(TARGET_DIR)/lib/libglib-2.0.so.0.1200.6
+endif
libglib2-clean:
- rm -f $(TARGET_DIR)/lib/$(LIBGLIB2_BINARY)
+ rm -f $(TARGET_DIR)/usr/lib/libglib-2.0*
+ rm -f $(TARGET_DIR)/usr/lib/libgmodule-2.0*
+ rm -f $(TARGET_DIR)/usr/lib/libgobject-2.0*
+ rm -f $(TARGET_DIR)/usr/lib/libgthread-2.0*
-$(MAKE) -C $(LIBGLIB2_DIR) clean
libglib2-dirclean: