Update buildroot from 17.02.2 -> 17.02.3
This commit is contained in:
@@ -40,6 +40,13 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_OPENLDAP),y)
|
||||
SUDO_DEPENDENCIES += openldap
|
||||
SUDO_CONF_OPTS += --with-ldap
|
||||
# If we are building sudo statically and openldap was linked with openssl, then
|
||||
# when we link sudo with openldap we need to specify the openssl libs, otherwise
|
||||
# it will fail with "undefined reference" errors.
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_OPENSSL),yy)
|
||||
SUDO_DEPENDENCIES += host-pkgconf
|
||||
SUDO_CONF_ENV = LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`"
|
||||
endif
|
||||
else
|
||||
SUDO_CONF_OPTS += --without-ldap
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user