forked from osmocom/wireshark
macos-setup: set SDKROOT when running xcrun.
That lets it find the right SDK path if you're not using the default SDK.
This commit is contained in:
parent
bf45e8c3f1
commit
190442d76e
|
@ -791,7 +791,7 @@ set -x
|
|||
# will be set to /usr/include (in those older versions of the
|
||||
# developer tools, there is a /usr/include directory).
|
||||
#
|
||||
includedir=`xcrun --show-sdk-path 2>/dev/null`/usr/include
|
||||
includedir=`SDKROOT="$SDKPATH" xcrun --show-sdk-path 2>/dev/null`/usr/include
|
||||
if [ ! -f ./configure ]; then
|
||||
LIBTOOLIZE=glibtoolize ./autogen.sh
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue