only run pathfix.py on python 3 builds

This commit is contained in:
Dylan Stephano-Shachter 2018-08-24 11:25:47 -04:00
parent e86a2a06f6
commit b5943e1fe0

View File

@ -94,12 +94,11 @@ UpdateTimestamps() {
%if 0%{?with_python3}
export PY3_CONFIG_FLAGS=--extra-python=%{__python3}
pathfix.py -n -p -i %{__python2} buildtools/bin/waf
%else
export PY3_CONFIG_FLAGS=
%endif
pathfix.py -n -p -i %{__python2} buildtools/bin/waf
%configure --disable-rpath \
--bundled-libraries=NONE \
--builtin-libraries=replace \