only run pathfix.py on python 3 builds
This commit is contained in:
parent
a4c2634314
commit
46f7d6e83e
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user