Skip to content

Commit e4a1b86

Browse files
committed
s
1 parent 81a5b2f commit e4a1b86

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

selfcheck.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ elif [ "$cxx_type" = "clang" ]; then
7070
# inc="$inc -I$line"
7171
#done <<< "$($CXX -x c++ -stdlib=libc++ -v -c -S - 2>&1 < /dev/null | grep -e'^ [/A-Z]')"
7272
elif [ "$cxx_type" = "Apple" ]; then
73-
find /Applications/Xcode_15.4.app -name endian.h
73+
find /Applications/Xcode_15.2.app -name endian.h
74+
cat /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config
7475
defs=
7576
defs="$defs -D__BYTE_ORDER__"
7677
defs="$defs -D__APPLE__"
@@ -97,6 +98,7 @@ elif [ "$cxx_type" = "Apple" ]; then
9798
do
9899
echo $line
99100
inc="$inc -I$line"
101+
# TODO: pass the framework path as such when possible
100102
done <<< "$($CXX -x c++ -v -c -S - 2>&1 < /dev/null | grep -e'^ [/A-Z]' | sed 's/ (framework directory)//g')"
101103
echo $inc
102104
else

0 commit comments

Comments
 (0)