[Buildroot] [PATCH 1/1] package/crun: fix linking with libargp

Bernd Kuhls bernd at kuhls.net
Sun Aug 20 15:26:39 UTC 2023


Fixes:
http://autobuild.buildroot.net/results/45f/45ff44284565c8e7deecfdc93995ec0ae4e89e2c/

The bug existed since the dependency to argp-standalone was added with
commit 0d9f268424558c37cd9538596358a537cd2f882d. The oldest build error
I could find occured on Nov, 9th, 2022:
http://autobuild.buildroot.net/results/ebe/ebea5d76c615d8509f87238d449e66da214fed73/

Please note that using $LIBS does not fix the problem.

Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
---
 package/crun/crun.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/crun/crun.mk b/package/crun/crun.mk
index 15438a44b3..9d904ccf1b 100644
--- a/package/crun/crun.mk
+++ b/package/crun/crun.mk
@@ -17,6 +17,7 @@ CRUN_CONF_OPTS = --disable-embedded-yajl
 
 ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
 CRUN_DEPENDENCIES += argp-standalone
+CRUN_CONF_ENV += LDFLAGS=$(TARGET_NLS_LIBS)
 endif
 
 ifeq ($(BR2_PACKAGE_LIBCAP),y)
-- 
2.39.2




More information about the buildroot mailing list