From 8e91c5ba6a1b2c607a1ed4a0a42b2d07eca13091 Mon Sep 17 00:00:00 2001 From: Don Brady Date: Wed, 5 Jun 2019 15:21:25 -0600 Subject: [PATCH] hkdf_test binary should only have one icp instance The build for test binary hkdf_test was linking both against libicp and libzpool. This results in two instances of libicp inside the binary but the call to icp_init() only initializes one of them! Reviewed-by: Richard Elling Reviewed-by: Brian Behlendorf Reviewed-by: George Melikov Signed-off-by: Don Brady Closes #8850 --- tests/zfs-tests/tests/functional/hkdf/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/zfs-tests/tests/functional/hkdf/Makefile.am b/tests/zfs-tests/tests/functional/hkdf/Makefile.am index d0a68f442f..3ac26ed21c 100644 --- a/tests/zfs-tests/tests/functional/hkdf/Makefile.am +++ b/tests/zfs-tests/tests/functional/hkdf/Makefile.am @@ -2,8 +2,7 @@ include $(top_srcdir)/config/Rules.am AM_CPPFLAGS += -I$(top_srcdir)/include AM_CPPFLAGS += -I$(top_srcdir)/lib/libspl/include -LDADD = $(top_srcdir)/lib/libicp/libicp.la -LDADD += $(top_srcdir)/lib/libzpool/libzpool.la +LDADD = $(top_srcdir)/lib/libzpool/libzpool.la AUTOMAKE_OPTIONS = subdir-objects