aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/samba/samba.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/samba/samba.inc')
-rw-r--r--recipes/samba/samba.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/samba/samba.inc b/recipes/samba/samba.inc
index d8df8f176c..5c92e82acf 100644
--- a/recipes/samba/samba.inc
+++ b/recipes/samba/samba.inc
@@ -18,6 +18,9 @@ FILES_${PN} += "${libdir}/vfs/*.so ${libdir}/charset/*.so ${libdir}/*.dat \
FILES_${PN}-dbg += "${libdir}/vfs/.debug/*.so ${libdir}/charset/.debug/*.so \
${libdir}/auth/.debug/*.so ${libdir}/security/.debug/*.so"
+SAMBAMMAP = "no"
+SAMBAMMAP_libc-glibc = "yes"
+
# The file system settings --foodir=dirfoo and overridden unconditionally
# in the samba config by --with-foodir=dirfoo - even if the --with is not
# specified! Fix that here. Set the privatedir to /etc/samba/private.
@@ -33,7 +36,9 @@ EXTRA_OECONF='--disable-cups \
--with-libdir=${libdir} \
--with-mandir=${mandir} \
--with-swatdir=${datadir}/swat \
- samba_cv_struct_timespec=yes'
+ --with-aio-support \
+ samba_cv_struct_timespec=yes \
+ libreplace_cv_HAVE_MMAP=${SAMBAMMAP}'
INITSCRIPT_NAME = "samba"
# No dependencies, goes in at level 20 (NOTE: take care with the