Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan McGovern <alan@xamarin.com>2013-08-28 02:29:50 +0400
committerAlan McGovern <alan@xamarin.com>2013-08-28 02:31:29 +0400
commit1e14f353847798b7a5d4a9e62b3148b4aa0cc618 (patch)
treebf5ccae5a23dba4bff381a6ec09d90bf832d5f81 /configure
parent64ec9b155d65e243376a6b5bd191921a3ac35a19 (diff)
[build] On MacOS always export the environment variables we need
This is a slightly better approach to making sure the environment is correct. If DYLD_FALLBACK_LIBRARY_PATH is unset then we can assume the user has not set up the other two exports we require in order to build and so we export all three at once.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index b2638e77d6..7dfda29bdf 100755
--- a/configure
+++ b/configure
@@ -256,6 +256,14 @@ if [ x$select == xyes -o ! -a profiles/$profile ]; then
select_packages
fi
+if test `uname` = "Darwin"; then
+ if test "x$DYLD_FALLBACK_LIBRARY_PATH" = "x"; then
+ export DYLD_FALLBACK_LIBRARY_PATH="/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib"
+ export PATH="$PATH:/Library/Frameworks/Mono.framework/Versions/Current/bin"
+ export ACLOCAL_FLAGS="-I /Library/Frameworks/Mono.framework/Versions/Current/share/aclocal"
+ fi
+fi
+
configure_packages
[ $? -eq 1 ] && exit 1