summaryrefslogtreecommitdiff
path: root/package/libmad
diff options
context:
space:
mode:
Diffstat (limited to 'package/libmad')
-rw-r--r--package/libmad/libmad.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk
index 37415ebac..deed03dd1 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