If the -lwd link is not added, dlsym fails to search for wd_alg_driver_register symbol.
Signed-off-by: Wenkai Lin linwenkai6@hisilicon.com --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am index bd7b36f..c66bbfe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -118,7 +118,7 @@ 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= -ldl -lwd libhisi_zip_la_LDFLAGS=$(UADK_VERSION)
libhisi_sec_la_LIBADD= -lwd -lwd_crypto