* oops in r_lang Makefile for OSX

This commit is contained in:
capi 2011-02-22 10:58:00 +01:00
parent 5541748e6b
commit 9e5dccf239

View File

@ -30,11 +30,11 @@ lang_python.${EXT_SO}:
else
lang_python.${EXT_SO}:
${CC} ${CFLAGS} \
`python-config --cflags 2>/dev/null | sed -e 's/-arch [^\s]* //g'` \
`python2-config --cflags 2>/dev/null | sed -e 's/-arch [^\s]* //g'` \
`python-config --cflags 2>/dev/null | sed -e 's/-arch [^\s]*//g'` \
`python2-config --cflags 2>/dev/null | sed -e 's/-arch [^\s]*//g'` \
${LDFLAGS} \
`python-config --ldflags 2>/dev/null | sed -e 's/-arch [^\s]* //g'` \
`python2-config --ldflags 2>/dev/null | sed -e 's/-arch [^\s]* //g'` \
`python-config --ldflags 2>/dev/null | sed -e 's/-arch [^\s]*//g'` \
`python2-config --ldflags 2>/dev/null | sed -e 's/-arch [^\s]*//g'` \
${LDFLAGS_LIB} -fPIC -o lang_python.${EXT_SO} python.c
endif