only run pathfix.py on python 3 builds

This commit is contained in:
Dylan Stephano-Shachter 2018-08-24 11:23:39 -04:00
parent a4c2634314
commit 46f7d6e83e

View File

@ -66,12 +66,11 @@ Python3 bindings for libtdb
%build
%if 0%{?with_python3}
PY3_CONFIG_FLAGS=--extra-python=%{__python3}
pathfix.py -n -p -i %{__python2} buildtools/bin/waf
%else
PY3_CONFIG_FLAGS=""
%endif
pathfix.py -n -p -i %{__python2} buildtools/bin/waf
%configure --disable-rpath \
--bundled-libraries=NONE \
--builtin-libraries=replace \