Browse Source

wine: Add openldap dependency check

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
André Hentschel 10 years ago
parent
commit
fa200b2438
1 changed files with 7 additions and 1 deletions
  1. 7 1
      package/wine/wine.mk

+ 7 - 1
package/wine/wine.mk

@@ -23,7 +23,6 @@ WINE_CONF_OPTS = \
 	--without-gphoto \
 	--without-gsm \
 	--without-hal \
-	--without-ldap \
 	--without-netapi \
 	--without-openal \
 	--without-opencl \
@@ -160,6 +159,13 @@ else
 WINE_CONF_OPTS += --without-curses
 endif
 
+ifeq ($(BR2_PACKAGE_OPENLDAP),y)
+WINE_CONF_OPTS += --with-ldap
+WINE_DEPENDENCIES += openldap
+else
+WINE_CONF_OPTS += --without-ldap
+endif
+
 ifeq ($(BR2_PACKAGE_SANE_BACKENDS),y)
 WINE_CONF_OPTS += --with-sane
 WINE_DEPENDENCIES += sane-backends