diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2014-12-10 14:33:28 +0300 |
---|---|---|
committer | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2014-12-10 14:33:28 +0300 |
commit | f5ea168d4dd7573bc6988d6f6befa24771c97e0e (patch) | |
tree | b02cfa7fe6a600c4638c39f8916258fceda66b8a /configure | |
parent | ca9afc23bcd73e5ebb4458b111e71c1f882f4435 (diff) |
Fixup configure to select mac if default doesn't exist.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -262,6 +262,10 @@ if [ -d "$prefix" ]; then export PKG_CONFIG_PATH=$prefix/lib/pkgconfig:$prefix/share/pkgconfig:$PKG_CONFIG_PATH fi +if test `uname` = "Darwin"; then + profile="mac" +fi + validate_profile "$profile" if [ ! $? -eq 1 ]; then echo "The build profile '$profile' does not exist. A new profile will be created." @@ -271,7 +275,6 @@ if [ x$select == xyes -o ! -a profiles/$profile ]; then fi if test `uname` = "Darwin"; then - profile="mac" # if building on bots or in default environment, fix up paths to use system Mono if test "x$BUILD_REVISION" != "x" -o "x$DYLD_FALLBACK_LIBRARY_PATH" = "x"; then export DYLD_FALLBACK_LIBRARY_PATH="/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib" |