summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/wafsamba/wscript')
-rw-r--r--buildtools/wafsamba/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index 1ff0fd3cb3..5a24eeb283 100644
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -119,7 +119,7 @@ def configure(conf):
conf.env.RPATH_ON_BUILD = False
# we should use the PIC options in waf instead
- conf.ADD_CFLAGS('-fPIC')
+ conf.ADD_CFLAGS('-fPIC', testflags=True)
# check for pkgconfig
conf.check_cfg(atleast_pkgconfig_version='0.0.0')