Fix build

This commit is contained in:
Jan Grulich 2019-09-25 06:51:27 +02:00
parent 167ab2f1d8
commit 910879a088

View File

@ -469,7 +469,7 @@ popd
## .prl/.la file love
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
pushd %{buildroot}%{_qt5_libdir}
for prl_file in libQt5*.prl ; do
for prl_file in *Qt5*.prl ; do
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
if [ -f "$(basename ${prl_file} .prl).so" ]; then
rm -fv "$(basename ${prl_file} .prl).la"