diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2015-12-15 02:43:59 -0500 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-01-29 20:24:34 -0800 |
commit | 8e06bcef6793a7c2265e18afe13d8d7b381dbbd8 (patch) | |
tree | 8c161da11de1c17d7557c24d1d4e6afdc1fb8e42 /meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | |
parent | 01189c7cd28bd6007d6f4c5b882f6500d9fdd0c5 (diff) | |
download | meta-openembedded-contrib-8e06bcef6793a7c2265e18afe13d8d7b381dbbd8.tar.gz |
samba: add PACKAGECONFIG for valgrind
* Add configure options '--without-valgrind'
* Disable valgrind by default since it doesn't build for all targets
This fixes build errors:
../source3/include/includes.h:156:31: fatal error: \
valgrind/memcheck.h: No such file or directory
compilation terminated.
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/samba/samba_4.1.12.bb')
-rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb index fbdbd5af3c..863d783141 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb @@ -33,6 +33,7 @@ SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \ file://18-avoid-get-config-by-native-ncurses.patch \ file://19-systemd-daemon-is-contained-by-libsystemd.patch \ file://20-do-not-import-target-module-while-cross-compile.patch \ + file://21-add-config-option-without-valgrind.patch \ " SRC_URI[md5sum] = "232016d7581a1ba11e991ec2674553c4" @@ -65,6 +66,7 @@ PACKAGECONFIG[ldap] = "--with-ldap,--without-ldap,openldap" PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd" PACKAGECONFIG[dmapi] = "--with-dmapi,--without-dmapi,dmapi" PACKAGECONFIG[zeroconf] = "--enable-avahi,--disable-avahi,avahi" +PACKAGECONFIG[valgrind] = ",--without-valgrind,valgrind," SAMBA4_IDMAP_MODULES="idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2" SAMBA4_PDB_MODULES="pdb_tdbsam,${@bb.utils.contains('PACKAGECONFIG', 'ldap', 'pdb_ldap,', '', d)}pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4" |