lede/target/linux/phytium/patches-5.10/002-fix-build-fail.patch
2024-01-23 00:20:07 +08:00

12 lines
373 B
Diff

--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -21,7 +21,7 @@ HOSTCFLAGS_asn1_compiler.o = -I$(srctree
HOSTCFLAGS_sign-file.o = $(CRYPTO_CFLAGS)
HOSTLDLIBS_sign-file = $(CRYPTO_LIBS)
HOSTCFLAGS_extract-cert.o = $(CRYPTO_CFLAGS)
-HOSTLDLIBS_extract-cert = $(CRYPTO_LIBS)
+HOSTLDLIBS_extract-cert = -lcrypto -lpthread
ifdef CONFIG_UNWINDER_ORC
ifeq ($(ARCH),x86_64)