From a2f4a17b5e005afa1a8b15921e81c42cda6bcec0 Mon Sep 17 00:00:00 2001
From: Günther Deschner <gd@samba.org>
Date: Fri, 18 Feb 2011 15:33:25 +0100
Subject: s3-waf: fix popt support.

Guenther
---
 source3/wscript | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'source3')

diff --git a/source3/wscript b/source3/wscript
index 7c01e8fcce..f248c2f187 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -93,6 +93,8 @@ def configure(conf):
         conf.ADD_EXTRA_INCLUDES('#lib/tevent')
     if not conf.env.USING_SYSTEM_TALLOC:
         conf.ADD_EXTRA_INCLUDES('#lib/talloc')
+    if not conf.env.USING_SYSTEM_POPT:
+        conf.ADD_EXTRA_INCLUDES('#lib/popt')
 
     conf.ADD_LDFLAGS("-Wl,--export-dynamic", testflags=True)
 
-- 
cgit