diff options
author | Koen Kooi <koen@openembedded.org> | 2010-08-04 11:36:42 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-08-04 11:38:13 +0200 |
commit | 930f647f13f93979413e815241be31473efe3f46 (patch) | |
tree | c9e64ac570af649ea5a9f61f091fc29dd9273f87 /recipes/samba/samba.inc | |
parent | 2d497d37fccfe2b4c6bc0eed54ce305dea4c286c (diff) |
samba: enable mmap for *glibc build and aio (thru -lrt) for everyone
Diffstat (limited to 'recipes/samba/samba.inc')
-rw-r--r-- | recipes/samba/samba.inc | 7 |
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 |