mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-01-10 07:58:51 +01:00
7859be13c2
I don't have a Mac that can build it. Hopefully ppc will run fine on ppc64.
16 lines
357 B
Plaintext
16 lines
357 B
Plaintext
exec >&2
|
|
redo-ifchange runpython.c
|
|
ARCHES=""
|
|
printf "Platforms: "
|
|
for d in /usr/libexec/gcc/darwin/*; do
|
|
PLAT=$(basename "$d")
|
|
[ "$PLAT" != "ppc64" ] || continue # fails for some reason on my Mac
|
|
ARCHES="$ARCHES -arch $PLAT"
|
|
printf "$PLAT "
|
|
done
|
|
printf "\n"
|
|
gcc $ARCHES \
|
|
-Wall -o $3 runpython.c \
|
|
-I/usr/include/python2.5 \
|
|
-lpython2.5
|