diff options
Diffstat (limited to 'macosx-setup.sh')
-rwxr-xr-x | macosx-setup.sh | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/macosx-setup.sh b/macosx-setup.sh index c16323c567..9a5e956e3a 100755 --- a/macosx-setup.sh +++ b/macosx-setup.sh @@ -397,28 +397,20 @@ then tar xf $PORTAUDIO_VERSION.tgz || exit 1 cd portaudio # - # Fix some problems with Xcode 4 and PortAudio's configure - # script - patch the configure script and rebuild it. + # Un-comment an include that's required on Lion. # - # "autoreconf -if" is what the PortAudio README.configure.txt - # file says to use; I'm guessing it's required in order to - # adapt to the libtool *you* have installed rather than the - # one installed on the machine on which the PortAudio tarball - # was built. - # - # However, it appears that, as PortAudio doesn't use - # automake, it removes config.guess and config.sub and - # *doesn't replace them* as it doesn't run "automake --add-missing". - # We therefore do so ourselves. + patch -p0 include/pa_mac_core.h <../../macosx-support-lib-patches/portaudio-pa_mac_core.h.patch # - patch -p0 configure.in <../../macosx-support-lib-patches/portaudio-configure.in.patch - autoreconf -if - automake --add-missing + # Disable fat builds - the configure script doesn't work right + # with Xcode 4 if you leave them enabled, and we don't build + # any other libraries fat (GLib, for example, would be very + # hard to build fat), so there's no advantage to having PortAudio + # built fat. # - # And also un-comment an include that's required on Lion. + # Set the minimum OS X version to 10.4, to suppress some + # deprecation warnings. # - patch -p0 include/pa_mac_core.h <../../macosx-support-lib-patches/portaudio-pa_mac_core.h.patch - ./configure || exit 1 + CFLAGS="-mmacosx-version-min=10.4" ./configure --disable-mac-universal || exit 1 make -j 3 || exit 1 $DO_MAKE_INSTALL || exit 1 cd .. |