summaryrefslogtreecommitdiff
path: root/source4/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source4/wscript')
-rw-r--r--source4/wscript6
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/wscript b/source4/wscript
index 31bc3070d0..aecea2df5f 100644
--- a/source4/wscript
+++ b/source4/wscript
@@ -35,10 +35,7 @@ def configure(conf):
# set a lower limit on recursing in waf preprocessor
conf.env.preprocessor_recursion_limit = 10
- # we should use the PIC options in waf instead
- conf.ADD_CFLAGS('-fPIC')
-
- conf.ADD_EXTRA_INCLUDES('#source4 #lib #source4/lib #source4/include #lib/replace #lib/talloc')
+ conf.ADD_EXTRA_INCLUDES('#source4 #lib #source4/lib #source4/include #lib/replace #lib/talloc #lib/tevent')
conf.sub_config('../lib/replace')
@@ -63,5 +60,6 @@ def configure(conf):
conf.sub_config('../lib/nss_wrapper')
conf.sub_config('../lib/socket_wrapper')
conf.sub_config('../lib/uid_wrapper')
+ conf.sub_config('lib/smbreadline')
conf.SAMBA_CONFIG_H('include/config.h')