mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
qt: disable static build for qt-zlib
Static build of applications using qt-zlib and zlib (such as mpv) will fail because zlib and qt-zlib defines the same functions (inflateReset, inflatePrime ...) So add a dependency on !BR2_STATIC_LIBS on BR2_PACKAGE_QT_QTZLIB Fixes: - http://autobuild.buildroot.org/results/0be6e359d46a8a701006305c32b514687854b035 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
f680e57e48
commit
112667fd12
@ -309,9 +309,13 @@ choice
|
|||||||
|
|
||||||
config BR2_PACKAGE_QT_QTZLIB
|
config BR2_PACKAGE_QT_QTZLIB
|
||||||
bool "Qt zlib"
|
bool "Qt zlib"
|
||||||
|
depends on !BR2_STATIC_LIBS
|
||||||
help
|
help
|
||||||
Use the zlib bundled with Qt.
|
Use the zlib bundled with Qt.
|
||||||
|
|
||||||
|
comment "Qt zlib needs a toolchain w/ dynamic library"
|
||||||
|
depends on BR2_STATIC_LIBS
|
||||||
|
|
||||||
config BR2_PACKAGE_QT_SYSTEMZLIB
|
config BR2_PACKAGE_QT_SYSTEMZLIB
|
||||||
bool "System zlib"
|
bool "System zlib"
|
||||||
select BR2_PACKAGE_ZLIB
|
select BR2_PACKAGE_ZLIB
|
||||||
|
Loading…
x
Reference in New Issue
Block a user