fix build.sh

This commit is contained in:
Martinez 2015-12-26 15:30:20 +01:00
parent 31aafaf0b7
commit f1a0a7bf47

View file

@ -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"