diff options
author | Rechi <Rechi@users.noreply.github.com> | 2018-04-26 12:00:00 +0200 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2018-04-26 12:00:00 +0200 |
commit | 6e42a11d33845fdfcec98440538d136ea8bedf91 (patch) | |
tree | e6f11e955365a38ea91ce623240f363a0fd61bdf | |
parent | cdec2cbbdc5a8755e6eb2e7ac0d6913285a59cf5 (diff) |
[depends][darwin] reorder use_sdk_path
-rw-r--r-- | tools/depends/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/configure.ac b/tools/depends/configure.ac index 1c50404a78..9581648b26 100644 --- a/tools/depends/configure.ac +++ b/tools/depends/configure.ac @@ -366,9 +366,9 @@ case $host in platform_cflags+=" -Wreturn-type -Wunused-variable -fmessage-length=0 -gdwarf-2" platform_cflags+=" -Wno-error=implicit-function-declaration" optimize_flags="-O3" + use_sdk_path=[`$use_xcodebuild -version -sdk $sdk_name | grep ^Path | awk '{ print $2}'`] platform_ldflags+=" -L$use_sdk_path/usr/lib/system" platform_cxxflags+=" $cpu_flags" - use_sdk_path=[`$use_xcodebuild -version -sdk $sdk_name | grep ^Path | awk '{ print $2}'`] ;; esac platform_cflags+=" -arch $use_cpu -m$platform_min_version" |