From 8ec6eceda0c936e4874f858c15fc801157f18f67 Mon Sep 17 00:00:00 2001 From: Ted Mielczarek Date: Fri, 21 Aug 2015 11:35:13 -0400 Subject: [PATCH] bug 1197248 - Don't try to --enable-rust on cross-mac builds yet. r=gps --HG-- extra : commitid : Ih7sMe6g288 extra : rebase_source : fe1c6600a382bab00364ea619d04b7de3065eea9 --- build/macosx/mozconfig.rust | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/macosx/mozconfig.rust b/build/macosx/mozconfig.rust index adb1e80887f6..bbd21cce976e 100644 --- a/build/macosx/mozconfig.rust +++ b/build/macosx/mozconfig.rust @@ -1,5 +1,7 @@ # Options to enable rust in automation builds. +if test `uname -s` != Linux; then RUSTC="$topsrcdir/rustc/bin/rustc" mk_add_options "export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$topsrcdir/rustc/lib" ac_add_options --enable-rust +fi