From 96cb2d5c0c55b7f68810e1e1b5a3344521df4db7 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 27 Feb 2022 10:11:40 +0100 Subject: [PATCH] package/freerdp: fix build with libexecinfo Fix the following build failure raised on uclibc and musl since the addition of libexecinfo package in commit eea8ba446c10701a273432552108d80fb2224ef4: /home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/10.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: ../../libwinpr/libwinpr2.so.2.5.0: undefined reference to `backtrace_symbols_fd' Fixes: - http://autobuild.buildroot.org/results/095c33098a6e59ff664080e03baf1a3c92b4265f Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/freerdp/freerdp.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk index c536f6cb1c..5f6ae56d1d 100644 --- a/package/freerdp/freerdp.mk +++ b/package/freerdp/freerdp.mk @@ -43,6 +43,11 @@ else FREERDP_CONF_OPTS += -DWITH_ALSA=OFF endif +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +FREERDP_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-lexecinfo +FREERDP_DEPENDENCIES += libexecinfo +endif + ifeq ($(BR2_PACKAGE_LIBUSB),y) FREERDP_CONF_OPTS += -DCHANNEL_URBDRC=ON FREERDP_DEPENDENCIES += libusb