From b2d76d2daf50d373e73c9ada62a4c57f197a1f2d Mon Sep 17 00:00:00 2001 From: MV Karan Date: Thu, 7 May 2020 18:41:36 +0530 Subject: [PATCH] Modified SWIG instruction to use default binary --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a9e716a..5058e43 100644 --- a/Makefile +++ b/Makefile @@ -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: