[Buildroot] [git commit branch/2023.02.x] package/samba4: add optional dependency to libunwind

Peter Korsgaard peter at korsgaard.com
Sat Aug 26 17:38:14 UTC 2023


commit: https://git.buildroot.net/buildroot/commit/?id=54be53a189006f46aa627640d936df381ef6e00a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x

Upstream added configure options for libunwind in commit
https://github.com/samba-team/samba/commit/14feb93d481011765f62614ab49b304e17e4f6fd

Fixes:
http://autobuild.buildroot.net/results/63c/63c469106e9daa198f77d8da7a5bb123edcce0f7/

Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit bca9d7e58a23fc8c4a27be7971ace1fc84526d22)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/samba4/samba4.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk
index 2799dbe2f7..4489c28d2b 100644
--- a/package/samba4/samba4.mk
+++ b/package/samba4/samba4.mk
@@ -93,6 +93,13 @@ else
 SAMBA4_CONF_OPTS += --without-libarchive
 endif
 
+ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
+SAMBA4_CONF_OPTS += --with-libunwind
+SAMBA4_DEPENDENCIES += libunwind
+else
+SAMBA4_CONF_OPTS += --without-libunwind
+endif
+
 ifeq ($(BR2_PACKAGE_NCURSES),y)
 SAMBA4_CONF_ENV += NCURSES_CONFIG="$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS)"
 SAMBA4_DEPENDENCIES += ncurses



More information about the buildroot mailing list