Modified SWIG instruction to use default binary

This commit is contained in:
MV Karan 2020-05-07 18:41:36 +05:30
parent 97c784b3f7
commit b2d76d2daf
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ all:
cp -r $(SDK_PATH)/include ./include
wget http://tinyurl.com/leap-i-patch -O Leap.i.diff
patch -p0 < Leap.i.diff
swig-3 -c++ -python -o LeapPython.cpp -interface LeapPython ./include/Leap.i
swig -c++ -python -o LeapPython.cpp -interface LeapPython ./include/Leap.i
g++ -fPIC -I/usr/include/python$(PYTHON3_VERSION)m -I/usr/include/python$(PYTHON3_VERSION) -I$(SDK_PATH)/include LeapPython.cpp $(SDK_PATH)/lib/$(ARCH)/libLeap.so -shared -o LeapPython.so
clean: