From 8bea4624995c37d1b77f2858229fd6b9680a03b0 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Wed, 1 Aug 2007 22:34:50 +0000 Subject: [PATCH] Build correct target in libmad --- package/libmad/libmad.mk | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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 -- 2.30.2