Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/libnss: fix build failure due to missing missing libnspr in link list
@ 2022-08-06 15:36 Giulio Benetti
  2022-08-06 22:21 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Giulio Benetti @ 2022-08-06 15:36 UTC (permalink / raw)
  To: buildroot; +Cc: Joseph Kogut, Giulio Benetti

FREEBL_NO_DEPEND is usually set to 1 and this means that:
```
build libfreebl3.so with no NSPR and libnssutil3.so dependencies by
default
```
But PR_SetError() and other PR_*() APIs are contained right in
NSPR(libnspr) that we already build and it's a libnss dependency, so let's
make libnss to link with libnspr by default by setting FREEBL_NO_DEPEND to
0.

Fixes:
http://autobuild.buildroot.net/results/c5b440bae5cd6dc6d5f1a632a6b5950b32d13f66/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 package/libnss/libnss.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk
index 4283ef520f..bc878adc35 100644
--- a/package/libnss/libnss.mk
+++ b/package/libnss/libnss.mk
@@ -57,7 +57,8 @@ LIBNSS_BUILD_VARS = \
 	OS_ARCH="Linux" \
 	OS_RELEASE="2.6" \
 	OS_TEST=$(BR2_PACKAGE_LIBNSS_ARCH) \
-	NSS_ENABLE_WERROR=0
+	NSS_ENABLE_WERROR=0 \
+	FREEBL_NO_DEPEND=0
 
 ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),)
 # Disable Altivec if not supported
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-08 23:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-06 15:36 [Buildroot] [PATCH] package/libnss: fix build failure due to missing missing libnspr in link list Giulio Benetti
2022-08-06 22:21 ` Thomas Petazzoni via buildroot
2022-08-08 23:34   ` Giulio Benetti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox