mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-01-10 07:58:51 +01:00
c13be0b817
Some people don't have all of them installed, so auto-detect them by looking at the available arches in /usr/libexec.
11 lines
213 B
Plaintext
11 lines
213 B
Plaintext
exec >&2
|
|
redo-ifchange runpython.c
|
|
ARCHES=""
|
|
for d in /usr/libexec/gcc/darwin/*; do
|
|
ARCHES="$ARCHES -arch $(basename $d)"
|
|
done
|
|
gcc $ARCHES \
|
|
-Wall -o $3 runpython.c \
|
|
-I/usr/include/python2.5 \
|
|
-lpython2.5
|