only run pathfix.py on python 3 builds
This commit is contained in:
parent
7237904a04
commit
89d33db361
@ -88,6 +88,7 @@ Development libraries for python3-talloc
|
||||
|
||||
%if 0%{?with_python3}
|
||||
PY3_CONFIG_FLAGS=--extra-python=%{__python3}
|
||||
pathfix.py -n -p -i %{__python2} buildtools/bin/waf
|
||||
%else
|
||||
PY3_CONFIG_FLAGS=""
|
||||
%endif
|
||||
@ -95,8 +96,6 @@ PY3_CONFIG_FLAGS=""
|
||||
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376
|
||||
export python_LDFLAGS=""
|
||||
|
||||
pathfix.py -n -p -i %{__python2} buildtools/bin/waf
|
||||
|
||||
%configure --disable-rpath \
|
||||
--disable-rpath-install \
|
||||
--bundled-libraries=NONE \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user