package/assimp: depends on libzlib
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 28 Jan 2021 20:04:36 +0000 (21:04 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 20 May 2021 19:45:23 +0000 (21:45 +0200)
assimp doesn't build with zlib-ng because Z_EXPORT and z_crc_t are used
by the bundled unzip source code

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/assimp/Config.in

index 42bfee945d82ea3fc4621c95ffb5d69f178fd23f..c535240efcba450896540902ccb2cdc315abd6e5 100644 (file)
@@ -2,7 +2,7 @@ config BR2_PACKAGE_ASSIMP
        bool "assimp"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
-       select BR2_PACKAGE_ZLIB
+       depends on BR2_PACKAGE_LIBZLIB
        help
          Open Asset Import Library (assimp) is a portable Open Source
          library to import various well-known 3D model formats in a
@@ -13,4 +13,8 @@ config BR2_PACKAGE_ASSIMP
          http://www.assimp.org
 
 comment "assimp needs a toolchain w/ C++, wchar"
+       depends on BR2_PACKAGE_LIBZLIB
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+
+comment "assimp needs libzlib"
+       depends on !BR2_PACKAGE_LIBZLIB