From 5fa183d5ef72a68d3dc19e00230e6fb57e06130c Mon Sep 17 00:00:00 2001 From: Ondrej Mikle Date: Sun, 22 Oct 2017 23:20:06 +0200 Subject: [PATCH] Reverting to SWIG 2 as SWIG 3 seems to cause random segfaults --- Makefile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 55ef496..482b111 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ nfc_smartcard_wrap.o: nfc_smartcard_wrap.cxx g++ -c $(CXXFLAGS) $< nfc_smartcard_wrap.cxx: nfc_smartcard.i nfc_smartcard.h - swig3.0 -python -c++ $< + swig -python -c++ $< clean: rm -f $(OBJECTS) $(PY_MODULE) $(SWIG_GENERATED) *.pyc diff --git a/README.md b/README.md index b0757fb..bbf4219 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ You need just to run `make`. Additional dependencies: All dependencies except for wiring can be installed via: -`apt install libnfc-dev libfreefare-bin and libfreefare-dev python-axolotl-curve25519 swig3.0` +`apt install libnfc-dev libfreefare-bin and libfreefare-dev python-axolotl-curve25519 swig2.0` ## Howto