[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser-build/master] fixup! Bug 31465: Set proper MACOSX_DEPLOYMENT_TARGET for tor and libevent
commit 0be0e0461475a29b5c01ad3b841030633c345179
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
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') %]
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits