mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-04-24 19:29:21 +02:00
ui-macos/bits/runpython.do: report which platforms we're compiling for.
Just as a quick reminder, in case you're building a fat binary and you don't have all the architectures actually installed.
This commit is contained in:
parent
15e26d2e0e
commit
f313d50690
@ -1,9 +1,13 @@
|
||||
exec >&2
|
||||
redo-ifchange runpython.c
|
||||
ARCHES=""
|
||||
printf "Platforms: "
|
||||
for d in /usr/libexec/gcc/darwin/*; do
|
||||
ARCHES="$ARCHES -arch $(basename $d)"
|
||||
PLAT=$(basename "$d")
|
||||
ARCHES="$ARCHES -arch $PLAT"
|
||||
printf "$PLAT "
|
||||
done
|
||||
printf "\n"
|
||||
gcc $ARCHES \
|
||||
-Wall -o $3 runpython.c \
|
||||
-I/usr/include/python2.5 \
|
||||
|
Loading…
Reference in New Issue
Block a user