rbutil: Fix linking zlib on Windows.

With Qt4 zlib was linked implicitly (and explicitly linking it caused
errors). This was a Qt issue that has been resolved with (at least
current) Qt5, now we need to explicitly link zlib on native Windows.

Change-Id: Ia5a6bdc83a39f6f5629c34ed835d2272a887f161
This commit is contained in:
Dominik Riebeling 2020-10-21 21:31:13 +02:00
parent 1801dcc999
commit ce3da6238f

View file

@ -146,10 +146,7 @@ for(rblib, RBLIBS) {
LIBS += -l$$rblib
}
# on win32 libz is linked implicitly.
!win32 {
LIBS += -lz
}
LIBS += -lz
# Add a (possibly found) libspeex now, don't do this before -lrbspeex!
!static:!isEmpty(LIBSPEEX) {