fix build scripts on unix

This commit is contained in:
root 2015-09-06 21:54:55 -04:00
parent 2a8cfdd435
commit cc823ca360
2 changed files with 5 additions and 7 deletions

View file

@ -1,5 +1,3 @@
cd ../nirai/src
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I/usr/include -I/usr/include/python2.7 -lstdc++ -lssl -lcrypto -c ../nirai/src/aes.cxx -c -o ../nirai/src/aes.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I/usr/include -I/usr/include/python2.7 -lstdc++ -lssl -lcrypto -c aes.cxx -c -o aes.o
gcc -shared aes.o -L/usr/local/lib -lstdc++ -lssl -lcrypto -o aes.so
gcc -shared ../nirai/src/aes.o -L/usr/local/lib -lstdc++ -lssl -lcrypto -o ../nirai/src/aes.so