[tbb-commits] [tor-browser-build/master] fixup! Bug 31465: Set proper MACOSX_DEPLOYMENT_TARGET for tor and libevent
gk at torproject.org
gk at torproject.org
Thu Aug 22 06:42:33 UTC 2019
commit 0be0e0461475a29b5c01ad3b841030633c345179
Author: Nicolas Vigier <boklm at torproject.org>
Date: Wed Aug 21 20:16:38 2019 +0200
fixup! Bug 31465: Set proper MACOSX_DEPLOYMENT_TARGET for tor and libevent
---
projects/libevent/build | 2 +-
projects/tor/build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/projects/libevent/build b/projects/libevent/build
index 0ec76b6..de9ba80 100644
--- a/projects/libevent/build
+++ b/projects/libevent/build
@@ -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
diff --git a/projects/tor/build b/projects/tor/build
index 8737716..6b684a0 100644
--- a/projects/tor/build
+++ b/projects/tor/build
@@ -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') %]
More information about the tbb-commits
mailing list