summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-01-19 14:30:20 +0100
committerKarolin Seeger <kseeger@samba.org>2018-01-25 15:04:21 +0100
commit3c46eef8f1ea1f43a80aec4ab94f17530f38ca76 (patch)
tree80bde8d9781b8d52901f7f22ed0c83688c2230fc /lib
parent0970c824c61b9c89051b347609611833d239ee00 (diff)
downloadsamba-3c46eef8f1ea1f43a80aec4ab94f17530f38ca76.tar.gz
waf: Fix NFS quota support with libtirpc
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13238 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Jan 22 17:26:52 CET 2018 on sn-devel-144 (cherry picked from commit 39a6ea766dfe55d84ab2284b8d5ed01d66da11dd)
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 57b0a45faee..2c638b77212 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -70,7 +70,7 @@ def configure(conf):
conf.SET_TARGET_TYPE('tirpc', 'EMPTY')
conf.CHECK_HEADERS('rpc/rpc.h rpc/nettype.h')
if not conf.CONFIG_SET('HAVE_RPC_RPC_H'):
- if conf.CHECK_CFG(package='libtirpc', args='--cflags',
+ if conf.CHECK_CFG(package='libtirpc', args='--cflags --libs',
msg='Checking for libtirpc headers',
uselib_store='TIRPC'):
conf.CHECK_HEADERS('rpc/rpc.h rpc/nettype.h', lib='tirpc', together=True)