Commit bcd4620e authored by Felix Paul Kühne's avatar Felix Paul Kühne

contribs: fixed linking libmad when cross-compiling on Darwin for a different architecture

parent 46de7807
......@@ -622,7 +622,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment