From 987819ac1ef56d4a610cd4e01f80b357c1b258ee Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Wed, 31 Oct 2007 06:40:36 +0000 Subject: [PATCH] update ltmain.sh in libmad by running libtoolize during build --- package/libmad/libmad.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk index deb7dede04..4f3166e6ff 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 -- 2.30.2