diff mbox

[1/2] wine: Add openldap dependency check

Message ID 54FC5B13.90707@dawncrow.de
State Accepted
Headers show

Commit Message

André Zwing March 8, 2015, 2:22 p.m. UTC
Signed-off-by: André Hentschel <nerv@dawncrow.de>
---

 package/wine/wine.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Comments

Thomas Petazzoni March 8, 2015, 5:48 p.m. UTC | #1
Dear André Hentschel,

On Sun, 08 Mar 2015 15:22:11 +0100, André Hentschel wrote:
> Signed-off-by: André Hentschel <nerv@dawncrow.de>

Applied, thanks!

Thomas
diff mbox

Patch

diff --git a/package/wine/wine.mk b/package/wine/wine.mk
index e931c87..571606d 100644
--- a/package/wine/wine.mk
+++ b/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