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 | |
parent | 2d497d37fccfe2b4c6bc0eed54ce305dea4c286c (diff) |
samba: enable mmap for *glibc build and aio (thru -lrt) for everyone
Diffstat (limited to 'recipes/samba')
-rw-r--r-- | recipes/samba/samba.inc | 7 | ||||
-rw-r--r-- | recipes/samba/samba_3.3.9.bb | 2 |
2 files changed, 7 insertions, 2 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 diff --git a/recipes/samba/samba_3.3.9.bb b/recipes/samba/samba_3.3.9.bb index 00fef0fc10..9ae66534f3 100644 --- a/recipes/samba/samba_3.3.9.bb +++ b/recipes/samba/samba_3.3.9.bb @@ -13,7 +13,7 @@ SRC_URI += "file://configure-3.3.0.patch \ file://mtab.patch \ file://tdbheaderfix.patch " -PR = "r3" +PR = "r4" EXTRA_OECONF += "\ SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \ |