32 lines
953 B
Diff
32 lines
953 B
Diff
From 2cd8bdd0e8c96463394fd402f52526fa0d1e1200 Mon Sep 17 00:00:00 2001
|
|
From: Wenkai Lin <linwenkai6@hisilicon.com>
|
|
Date: Tue, 28 Mar 2023 20:09:16 +0800
|
|
Subject: [PATCH 21/28] uadk: fix dlsym problem
|
|
|
|
If the -lwd link is not added, dlsym fails to search for
|
|
wd_alg_driver_register symbol, so add link and dependence.
|
|
|
|
Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com>
|
|
---
|
|
Makefile.am | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/Makefile.am b/Makefile.am
|
|
index bd7b36f..a4bb470 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -118,8 +118,9 @@ libwd_crypto_la_LIBADD= -lwd -ldl -lnuma
|
|
libwd_crypto_la_LDFLAGS=$(UADK_VERSION) $(UADK_CRYPTO_SYMBOL)
|
|
libwd_crypto_la_DEPENDENCIES= libwd.la
|
|
|
|
-libhisi_zip_la_LIBADD= -ldl
|
|
+libhisi_zip_la_LIBADD= -lwd -ldl
|
|
libhisi_zip_la_LDFLAGS=$(UADK_VERSION)
|
|
+libhisi_zip_la_DEPENDENCIES= libwd.la
|
|
|
|
libhisi_sec_la_LIBADD= -lwd -lwd_crypto
|
|
libhisi_sec_la_LDFLAGS=$(UADK_VERSION)
|
|
--
|
|
2.25.1
|
|
|