mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
package/libzip: fix build with musl-fts
Fixes: - http://autobuild.buildroot.org/results/89f5fc111bb8bcecbe05ab79d62ac809094b6ce1 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
b6dd1a07e9
commit
b8cf282fa0
@ -1,6 +1,7 @@
|
|||||||
config BR2_PACKAGE_LIBZIP
|
config BR2_PACKAGE_LIBZIP
|
||||||
bool "libzip"
|
bool "libzip"
|
||||||
depends on !BR2_STATIC_LIBS # dlsym()
|
depends on !BR2_STATIC_LIBS # dlsym()
|
||||||
|
select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
|
||||||
select BR2_PACKAGE_ZLIB
|
select BR2_PACKAGE_ZLIB
|
||||||
help
|
help
|
||||||
C library for reading, creating, and modifying zip archives.
|
C library for reading, creating, and modifying zip archives.
|
||||||
|
@ -33,5 +33,10 @@ else
|
|||||||
LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=OFF
|
LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),)
|
||||||
|
LIBZIP_DEPENDENCIES += musl-fts
|
||||||
|
LIBZIP_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-lfts
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(cmake-package))
|
$(eval $(cmake-package))
|
||||||
$(eval $(host-cmake-package))
|
$(eval $(host-cmake-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user