summaryrefslogtreecommitdiff
path: root/packaging/RHEL
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/RHEL')
-rw-r--r--packaging/RHEL/samba.spec.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/RHEL/samba.spec.tmpl b/packaging/RHEL/samba.spec.tmpl
index 90a9494c5d..c6417f9be6 100644
--- a/packaging/RHEL/samba.spec.tmpl
+++ b/packaging/RHEL/samba.spec.tmpl
@@ -127,7 +127,8 @@ CFLAGS="$RPM_OPT_FLAGS $EXTRA -D_GNU_SOURCE" ./configure \
--prefix=%{_prefix} \
--localstatedir=/var \
--with-configdir=%{_sysconfdir}/samba \
- --with-libdir=%{_libdir}/samba \
+ --libdir=%{_libdir} \
+ --with-modulesdir=%{_libdir}/samba \
--with-lockdir=/var/lib/samba \
--with-logfilebase=/var/log/samba \
--with-mandir=%{_mandir} \