summaryrefslogtreecommitdiff
path: root/package/libmad
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-10-31 06:40:36 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-10-31 06:40:36 +0000
commit987819ac1ef56d4a610cd4e01f80b357c1b258ee (patch)
tree635f6158ee4b8de1bcf928bac5c20c05d25a7b2a /package/libmad
parent400eafa301cd399f7091737d3902069e502db218 (diff)
update ltmain.sh in libmad by running libtoolize during build
Diffstat (limited to 'package/libmad')
-rw-r--r--package/libmad/libmad.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk
index deb7dede0..4f3166e6f 100644
--- a/package/libmad/libmad.mk
+++ b/package/libmad/libmad.mk
@@ -36,8 +36,13 @@ $(LIBMAD_DIR)/.configured: $(LIBMAD_DIR)/.unpacked
)
touch $@
+# This rule runs 'libtoolize' since the ltmain.sh which comes in the tarball
+# is unsuitable with new libtool versions (causing shared libraries to build
+# without the .so extension).
+
$(LIBMAD_DIR)/libmad.la: $(LIBMAD_DIR)/.configured
rm -f $@
+ (cd $(LIBMAD_DIR); libtoolize --force)
$(MAKE) -C $(LIBMAD_DIR)
$(STAGING_DIR)/usr/lib/libmad.so: $(LIBMAD_DIR)/libmad.la