Unverified Commit 0be0e046 authored by boklm's avatar boklm
Browse files

fixup! Bug 31465: Set proper MACOSX_DEPLOYMENT_TARGET for tor and libevent

parent 7a01c996
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ cd /var/tmp/build/[% project %]-[% c('version') %]
  patch -p1 < $rootdir/autotools-openssl-mac.patch
  # Setting this after `configure` but before `make` might be enough, but let's
  # not bet on that and just set it here.
  export MACOSX_DEPLOYMENT_TARGET=10.9
  export MACOSX_DEPLOYMENT_TARGET=[% c("var/macosx_deployment_target") %]
[% END -%]
./autogen.sh
./configure --disable-static [% c("var/configure_opt") %] --prefix=$distdir
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ openssldir=/var/tmp/dist/openssl
[% IF c("var/osx") %]
  cp $libeventdir/lib/libevent-*.dylib $TORBINDIR/
  # The target version needs to be set before the configure step.
  export MACOSX_DEPLOYMENT_TARGET=10.9
  export MACOSX_DEPLOYMENT_TARGET=[% c("var/macosx_deployment_target") %]
[% END %]

cd /var/tmp/build/[% project %]-[% c('version') %]