Reverting to SWIG 2 as SWIG 3 seems to cause random segfaults

This commit is contained in:
Ondrej Mikle 2017-10-22 23:20:06 +02:00
parent b99c121766
commit 5fa183d5ef
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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