fix build.sh
This commit is contained in:
parent
31aafaf0b7
commit
f1a0a7bf47
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ echo "- translating from Python to C"
|
|||
cython -f -3 --fast-fail -X embedsignature=True cython_types.pyx -o cython_types.c || die "translating"
|
||||
|
||||
echo "- compiling and linking"
|
||||
gcc $CFLAGS -I/usr/include/python3.5 -pthread -c cython_types.c || die "compilation"
|
||||
gcc $LFLAGS -L/usr/lib -lpython3.5 cython_types.o -o cython_types.so || die "linking"
|
||||
gcc $CFLAGS -I/usr/include/python3.5m -pthread -c cython_types.c || die "compilation"
|
||||
gcc $LFLAGS -L/usr/lib -lpython3.5m cython_types.o -o cython_types.so || die "linking"
|
||||
rm -f cython_types.{c,o}
|
||||
|
||||
echo "- done"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue