[Buildroot] [git commit branch/2023.05.x] package/samba4: add optional dependency to libunwind
Peter Korsgaard
peter at korsgaard.com
Sun Jul 16 09:17:41 UTC 2023
commit: https://git.buildroot.net/buildroot/commit/?id=b2961a318dbb5c74ac229e7e287b6e3dd94e94e5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.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