From: Ulf Samuelsson Date: Wed, 1 Aug 2007 22:34:50 +0000 (-0000) Subject: Build correct target in libmad X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bea4624995c37d1b77f2858229fd6b9680a03b0;p=buildroot.git Build correct target in libmad --- diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk index 37415ebac5..deed03dd18 100644 --- a/package/libmad/libmad.mk +++ b/package/libmad/libmad.mk @@ -39,20 +39,19 @@ $(LIBMAD_DIR)/libmad.la: $(LIBMAD_DIR)/.configured rm -f $@ $(MAKE) -C $(LIBMAD_DIR) -$(STAGING_DIR)/usr/lib/libmad.0: $(LIBMAD_DIR)/libmad.la +$(STAGING_DIR)/usr/lib/libmad.so: $(LIBMAD_DIR)/libmad.la $(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBMAD_DIR) install -$(TARGET_DIR)/usr/lib/libmad.0: $(STAGING_DIR)/usr/lib/libmad.0 - cp -dpf $(STAGING_DIR)/usr/lib/libmad $(TARGET_DIR)/usr/lib/ - cp -dpf $(STAGING_DIR)/usr/lib/libmad.0* $(TARGET_DIR)/usr/lib/ +$(TARGET_DIR)/usr/lib/libmad.so: $(STAGING_DIR)/usr/lib/libmad.so + cp -dpf $(STAGING_DIR)/usr/lib/libmad.so* $(TARGET_DIR)/usr/lib/ $(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libmad* -$(TARGET_DIR)/usr/lib/libmad.a: $(STAGING_DIR)/usr/lib/libmad.0 +$(TARGET_DIR)/usr/lib/libmad.a: $(STAGING_DIR)/usr/lib/libmad.so mkdir -p $(TARGET_DIR)/usr/include cp -dpf $(STAGING_DIR)/usr/include/mad.h $(TARGET_DIR)/usr/include/ cp -dpf $(STAGING_DIR)/usr/lib/libmad.*a $(TARGET_DIR)/usr/lib/ -libmad: uclibc $(TARGET_DIR)/usr/lib/libmad.0 +libmad: uclibc $(TARGET_DIR)/usr/lib/libmad.so libmad-headers: $(TARGET_DIR)/usr/lib/libmad.a