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