mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
libpwquality: Link with zlib when required in static builds
Fixes: http://autobuild.buildroot.net/results/cfb3a591391d90762a326d91af3ec502a6161ac5 Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
719726af2e
commit
d0ad066e4a
@ -27,6 +27,11 @@ else
|
|||||||
LIBPWQUALITY_CONF_OPTS += --disable-pam
|
LIBPWQUALITY_CONF_OPTS += --disable-pam
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Static link with cracklib requires -lz if zlib is enabled
|
||||||
|
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_ZLIB),yy)
|
||||||
|
LIBPWQUALITY_CONF_ENV += LIBS="-lz"
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBPWQUALITY_TOOLS),)
|
ifeq ($(BR2_PACKAGE_LIBPWQUALITY_TOOLS),)
|
||||||
define LIBPWQUALITY_REMOVE_TOOLS
|
define LIBPWQUALITY_REMOVE_TOOLS
|
||||||
rm -f $(TARGET_DIR)/usr/bin/pwmake
|
rm -f $(TARGET_DIR)/usr/bin/pwmake
|
||||||
|
Loading…
x
Reference in New Issue
Block a user