only run pathfix.py on python 3 builds
This commit is contained in:
parent
171f707588
commit
c74409477d
@ -141,6 +141,7 @@ Development files for the Python bindings for the LDB library
|
|||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
PY3_CONFIG_FLAGS=--extra-python=%{__python3}
|
PY3_CONFIG_FLAGS=--extra-python=%{__python3}
|
||||||
|
pathfix.py -n -p -i %{__python2} buildtools/bin/waf
|
||||||
%else
|
%else
|
||||||
PY3_CONFIG_FLAGS=""
|
PY3_CONFIG_FLAGS=""
|
||||||
%endif
|
%endif
|
||||||
@ -148,8 +149,6 @@ PY3_CONFIG_FLAGS=""
|
|||||||
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376
|
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376
|
||||||
export python_LDFLAGS=""
|
export python_LDFLAGS=""
|
||||||
|
|
||||||
pathfix.py -n -p -i %{__python2} buildtools/bin/waf
|
|
||||||
|
|
||||||
%configure --disable-rpath \
|
%configure --disable-rpath \
|
||||||
--disable-rpath-install \
|
--disable-rpath-install \
|
||||||
--bundled-libraries=NONE \
|
--bundled-libraries=NONE \
|
||||||
|
Loading…
Reference in New Issue
Block a user