diff options
author | CoprDistGit <infra@openeuler.org> | 2025-01-05 14:01:07 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-01-05 14:01:07 +0000 |
commit | 519942f8506e7bb04556825d344ff6d607ce3f8c (patch) | |
tree | 4d976849431955ed5f189b6df99f79aa33deb308 | |
parent | 3cd166caf57437d906712cd18427c6c78af28ff7 (diff) |
automatic import of qscintilla
-rw-r--r-- | qscintilla.spec | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qscintilla.spec b/qscintilla.spec index 32b7fa0..93c6857 100644 --- a/qscintilla.spec +++ b/qscintilla.spec @@ -77,12 +77,14 @@ pushd Python --pyqt=PyQt5 \ --sip=/usr/bin/sip-pyqt5 \ --qsci-incdir=../Qt4Qt5 --qsci-libdir=../Qt4Qt5 + +cat Qsci/Qsci.pro make sub-Qsci-qmake_all sed -i \ -e '#^CXXFLAGS#s#$# %{build_cxxflags}#' \ -e '#^LFLAGS#s#$# %{build_ldflags}#'\ - -e '#^INCPATH#s#$# -I%{_qt5_includedir}/QtWidgets#' \ - -e '#^LIBS#s#$# %{_qt5_libdir}/libQt5Widgets.so#'\ + -e '/^INCPATH/s/$/ -I%{_qt5_includedir}\/QtWidgets/' \ + -e '/^LIBS/s/$/ %{_qt5_libdir}\/libQt5Widgets.so/'\ Qsci/Makefile cat Qsci/Makefile %make_build |