Specify sip dir.
This commit is contained in:
parent
353f3a2aae
commit
fe3f9502a3
@ -283,6 +283,7 @@ pushd %{_target_platform}
|
||||
--qmake=%{_qt5_qmake} \
|
||||
%{!?with_python3:--no-qsci-api}%{?with_python3:--qsci-api --qsci-api-destdir=%{_qt5_datadir}/qsci} \
|
||||
--verbose \
|
||||
--sip-incdir %{_prefix}/include/python%{python2_version}/ \
|
||||
QMAKE_CFLAGS_RELEASE="%{optflags}" \
|
||||
QMAKE_CXXFLAGS_RELEASE="%{optflags}" \
|
||||
QMAKE_LFLAGS_RELEASE="%{?__global_ldflags}"
|
||||
@ -304,6 +305,7 @@ pushd %{_target_platform}-python3
|
||||
%{?py3_sip:--sip=%{_bindir}/python3-sip} \
|
||||
%{?py3_sipdir:--sipdir=%{py3_sipdir}} \
|
||||
--verbose \
|
||||
--sip-incdir %{_prefix}/include/python%{python3_version}m/ \
|
||||
QMAKE_CFLAGS_RELEASE="%{optflags}" \
|
||||
QMAKE_CXXFLAGS_RELEASE="%{optflags}" \
|
||||
QMAKE_LFLAGS_RELEASE="%{?__global_ldflags}"
|
||||
|
Loading…
Reference in New Issue
Block a user