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:
parent
971a6e9c94
commit
4b321649a8
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue