From 4bf70ccf2e9367841b73d831595a72ec65d0c71d Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Sat, 28 Jul 2007 17:09:44 +0000 Subject: [PATCH] Use correct extension for libmad library --- package/libmad/libmad.mk | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk index 0269137b42..37415ebac5 100644 --- a/package/libmad/libmad.mk +++ b/package/libmad/libmad.mk @@ -16,6 +16,7 @@ $(DL_DIR)/$(LIBMAD_SOURCE): $(LIBMAD_DIR)/.unpacked: $(DL_DIR)/$(LIBMAD_SOURCE) $(LIBMAD_CAT) $(DL_DIR)/$(LIBMAD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(CONFIG_UPDATE) $(LIBMAD_DIR) + toolchain/patch-kernel.sh $(LIBMAD_DIR) package/libmad/ libmad-$(LIBMAD_VERSION)\*.patch\* touch $@ $(LIBMAD_DIR)/.configured: $(LIBMAD_DIR)/.unpacked @@ -28,29 +29,30 @@ $(LIBMAD_DIR)/.configured: $(LIBMAD_DIR)/.unpacked --build=$(GNU_HOST_NAME) \ --prefix=/usr \ --sysconfdir=/etc \ + --disable-debugging \ + --enable-speed \ $(DISABLE_NLS) \ ); touch $@ $(LIBMAD_DIR)/libmad.la: $(LIBMAD_DIR)/.configured rm -f $@ - $(MAKE) CC=$(TARGET_CC) -C $(LIBMAD_DIR) - @touch -c $@ + $(MAKE) -C $(LIBMAD_DIR) -$(STAGING_DIR)/usr/lib/libmad.so: $(LIBMAD_DIR)/libmad.la +$(STAGING_DIR)/usr/lib/libmad.0: $(LIBMAD_DIR)/libmad.la $(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBMAD_DIR) install -$(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.so* - @touch -c $@ +$(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/ + $(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libmad* -$(TARGET_DIR)/usr/lib/libmad.a: $(STAGING_DIR)/usr/lib/libmad.so +$(TARGET_DIR)/usr/lib/libmad.a: $(STAGING_DIR)/usr/lib/libmad.0 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.so +libmad: uclibc $(TARGET_DIR)/usr/lib/libmad.0 libmad-headers: $(TARGET_DIR)/usr/lib/libmad.a -- 2.30.2