Rockbox Utility: Explicitly link zlib.

zlib is required by the zip class. Explicitly link it instead of relying it to
get implicitly linked via Qt. Fixes link errors on distributions with implicit
linking disabled. Don't do this on Windows as things are different here.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27251 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2010-07-02 23:49:26 +00:00
parent 971a6e9c94
commit 4b321649a8

View file

@ -130,6 +130,10 @@ unix:!static:libusb1 {
DEFINES += LIBUSB1
LIBS += -lusb-1.0
}
unix {
# explicitly link zlib, we do need it. Don't rely on implicit linking via Qt.
LIBS += -lz
}
unix:static {
# force statically linking of libusb. Libraries that are appended