aboutsummaryrefslogtreecommitdiff
path: root/lib/xfrm
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-02-21 12:56:55 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-02-21 12:56:55 +0100
commit90056de06e274997c9a9f6c3fefa96906b2cd8c2 (patch)
tree8e530d6066655189071422e79871ac315101c13e /lib/xfrm
parentbf332b6ca6cc18480345495d23d39525e41fd395 (diff)
libxfr: Fix zstd test naming error
We were previously building pack for unpack and vice versa. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/xfrm')
-rw-r--r--lib/xfrm/Makemodule.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/xfrm/Makemodule.am b/lib/xfrm/Makemodule.am
index a517df7..518344c 100644
--- a/lib/xfrm/Makemodule.am
+++ b/lib/xfrm/Makemodule.am
@@ -55,12 +55,12 @@ if HAVE_ZSTD_STREAM
libxfrm_a_SOURCES += lib/xfrm/src/zstd.c
libxfrm_a_CFLAGS += $(ZSTD_CFLAGS) -DWITH_ZSTD
-test_pack_zstd_SOURCES = lib/xfrm/test/unpack.c
-test_pack_zstd_LDADD = libxfrm.a $(ZSTD_LIBS)
+test_pack_zstd_SOURCES = lib/xfrm/test/pack.c
+test_pack_zstd_LDADD = libxfrm.a $(LIBXFRM_LIBS)
test_pack_zstd_CPPFLAGS = $(AM_CPPFLAGS) -DDO_ZSTD=1
-test_unpack_zstd_SOURCES = lib/xfrm/test/pack.c
-test_unpack_zstd_LDADD = libxfrm.a $(LIBXFRM_LIBS)
+test_unpack_zstd_SOURCES = lib/xfrm/test/unpack.c
+test_unpack_zstd_LDADD = libxfrm.a $(ZSTD_LIBS)
test_unpack_zstd_CPPFLAGS = $(AM_CPPFLAGS) -DDO_ZSTD=1
LIBXFRM_TESTS += test_pack_zstd test_unpack_zstd