mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
package/nmap: add zlib optional dependency
zlib is an optional dependency since bump to version 7.60 in commitc4faf1d4d1and0c142333bb. If it is not disabled, nmap will build its own zlib version which can result in the following build failure: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i686-buildroot-linux-uclibc/9.3.0/../../../../i686-buildroot-linux-uclibc/bin/ld: attempted static link of dynamic object `libz.so.1.2.11' Fixes: - http://autobuild.buildroot.org/results/da9469e24390c94fe74f133152dc320c21872159 - http://autobuild.buildroot.org/results/53034d8dd506bc033dc92343f9a37cd4ac8b2142 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commite991c2cba6) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
99557307ae
commit
0b13ddf5ca
@@ -44,6 +44,13 @@ else
|
||||
NMAP_CONF_OPTS += --without-openssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
NMAP_CONF_OPTS += --with-libz="$(STAGING_DIR)/usr"
|
||||
NMAP_DEPENDENCIES += zlib
|
||||
else
|
||||
NMAP_CONF_OPTS += --without-libz
|
||||
endif
|
||||
|
||||
NMAP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NMAP_NCAT),y)
|
||||
|
||||
Reference in New Issue
Block a user