summaryrefslogtreecommitdiff
path: root/support/nfsidmap
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2019-05-10 14:45:57 -0400
committerSteve Dickson <steved@redhat.com>2019-05-10 14:45:57 -0400
commitc941a7c08407fb2b74682945f5fbbd94cb140905 (patch)
treed3cf31c871652788ecf1232f756dc8a8a3b6c25d /support/nfsidmap
parent66a2a3fac6d3d4123328a93e3227f191335371e5 (diff)
downloadnfs-utils-c941a7c08407fb2b74682945f5fbbd94cb140905.tar.gz
nfs-utils: nfsidmap fail to build if no --with-pluginpath specified
The var "pkgplugindir" will be empty if no pluginpath provided. Makefile "-rpath $(pkgplugindir)" will then get failed. Signed-off-by: Yongcheng Yang <yongcheng.yang@gmail.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfsidmap')
-rw-r--r--support/nfsidmap/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/nfsidmap/Makefile.am b/support/nfsidmap/Makefile.am
index cdbeb4c..9c21fa3 100644
--- a/support/nfsidmap/Makefile.am
+++ b/support/nfsidmap/Makefile.am
@@ -1,4 +1,8 @@
+if PATH_PLUGINS
pkgplugindir=$(PATH_PLUGINS)
+else
+pkgplugindir=$(libdir)/libnfsidmap
+endif
if ENABLE_LDAP
UMICH_LDAP_LIB = umich_ldap.la