summaryrefslogtreecommitdiff
path: root/package/libmad
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-01 22:34:50 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-01 22:34:50 +0000
commit8bea4624995c37d1b77f2858229fd6b9680a03b0 (patch)
tree9b2ba3f6583d03d7ef49e43549450ac6d1146633 /package/libmad
parent9601c01558f66a92076a6da3178cc172ac991376 (diff)
Build correct target in libmad
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