[vlc-devel] commit: contribs/libmad: fixed cross-compilation on Darwin ( Felix Paul Kühne )
git version control
git at videolan.org
Wed Oct 28 22:48:42 CET 2009
vlc | branch: 1.0-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Wed Oct 28 22:48:03 2009 +0100| [e3f0e5d09f1f1742a892399481e9f73ad75a178b] | committer: Felix Paul Kühne
contribs/libmad: fixed cross-compilation on Darwin
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e3f0e5d09f1f1742a892399481e9f73ad75a178b
---
extras/contrib/src/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 2a4f8e9..974f203 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -698,7 +698,7 @@ libmad-$(LIBMAD_VERSION).tar.gz:
libmad: libmad-$(LIBMAD_VERSION).tar.gz
$(EXTRACT_GZ)
ifdef HAVE_DARWIN_OS
- ( cd $@; sed -e 's%-march=i486%$(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)%' -i.orig configure )
+ ( cd $@; sed -e 's%-march=i486%$(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)%' -e 's%-dynamiclib%-dynamiclib -arch $(ARCH)%' -i.orig configure )
endif
.mad: libmad
More information about the vlc-devel
mailing list