summaryrefslogtreecommitdiffstats
path: root/package/libosip2/libosip2.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-11-30 12:32:33 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-11-30 12:32:33 +0000
commit5fa09eed0f302246f06b16eaa5c35167ad1ed78b (patch)
tree312ac7602033a469dc063e331680962a23ce1c87 /package/libosip2/libosip2.mk
parent441908f1a4e93d39224702436e8cf329a6881603 (diff)
downloadbuildroot-novena-5fa09eed0f302246f06b16eaa5c35167ad1ed78b.tar.gz
buildroot-novena-5fa09eed0f302246f06b16eaa5c35167ad1ed78b.zip
Add libeXosip2 package
Diffstat (limited to 'package/libosip2/libosip2.mk')
-rw-r--r--package/libosip2/libosip2.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/libosip2/libosip2.mk b/package/libosip2/libosip2.mk
index a87624285..c575755be 100644
--- a/package/libosip2/libosip2.mk
+++ b/package/libosip2/libosip2.mk
@@ -49,13 +49,20 @@ $(LIBOSIP2_DIR)/libosip2.so: $(LIBOSIP2_DIR)/.configured
$(STAGING_DIR)/usr/lib/libosip2.so: $(LIBOSIP2_DIR)/.configured
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBOSIP2_DIR) install
+ $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libosip2.la
+ $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libosipparser2.la
$(TARGET_DIR)/usr/lib/libosip2.so: $(STAGING_DIR)/usr/lib/libosip2.so
mkdir -p $(TARGET_DIR)/usr/lib
cp -dpf $(STAGING_DIR)/usr/lib/libosip2.so* $(TARGET_DIR)/usr/lib/
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libosip2.so*
-libosip2: uclibc $(TARGET_DIR)/usr/lib/libosip2.so
+$(TARGET_DIR)/usr/lib/libosipparser2.so: $(STAGING_DIR)/usr/lib/libosip2.so
+ mkdir -p $(TARGET_DIR)/usr/lib
+ cp -dpf $(STAGING_DIR)/usr/lib/libosipparser2.so* $(TARGET_DIR)/usr/lib/
+ $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libosipparser2.so*
+
+libosip2: uclibc $(TARGET_DIR)/usr/lib/libosip2.so $(TARGET_DIR)/usr/lib/libosipparser2.so
libosip2-source: $(DL_DIR)/$(LIBOSIP2_SOURCE)