Import wolfssl

This commit is contained in:
2016-03-01 22:49:12 +01:00
parent fdf009c023
commit 6288703488
638 changed files with 276962 additions and 0 deletions

9
3P/wolfssl/swig/PythonBuild.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
echo
swig -python wolfssl.i
pythonIncludes=`python-config --includes`
pythonLibs=`python-config --libs`
gcc -c -fpic wolfssl_wrap.c -I$pythonIncludes
gcc -c -fpic wolfssl_adds.c
gcc -shared -flat_namespace wolfssl_adds.o wolfssl_wrap.o -lwolfssl $pythonLibs -o _wolfssl.so
python runme.py