Imported Upstream version 3.10.2+dfsg
This commit is contained in:
9
swig/PythonBuild.sh
Executable file
9
swig/PythonBuild.sh
Executable 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
|
||||
Reference in New Issue
Block a user