]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
crypto/gc-arctwo-tests: Fix link error when OpenSSL is enabled.
authorCollin Funk <collin.funk1@gmail.com>
Tue, 23 Sep 2025 04:27:13 +0000 (21:27 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Tue, 23 Sep 2025 04:27:13 +0000 (21:27 -0700)
* modules/crypto/gc (Link): Add $(LIB_CRYPTO).
* modules/crypto/gc-arctwo-tests (Makefile.am): Link the test program to
@LIB_CRYPTO@.

ChangeLog
modules/crypto/gc
modules/crypto/gc-arctwo-tests

index 24f2d90e875088cc585611249f58f627ab4b2e50..adf086501a447e3ff610d0353c0835b29b047bfd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2025-09-22  Collin Funk  <collin.funk1@gmail.com>
+
+       crypto/gc-arctwo-tests: Fix link error when OpenSSL is enabled.
+       * modules/crypto/gc (Link): Add $(LIB_CRYPTO).
+       * modules/crypto/gc-arctwo-tests (Makefile.am): Link the test program to
+       @LIB_CRYPTO@.
+
 2025-09-22  Bruno Haible  <bruno@clisp.org>
 
        fchownat: Revert my earlier change today entirely.
index bda331ff3dd871791b64c0088494a68ddeffe249..385b9e3977d40a5f2f773262ba4bd132040b2578 100644 (file)
@@ -31,6 +31,9 @@ lib_LDFLAGS += $(LTLIBGCRYPT)
 Include:
 "gc.h"
 
+Link:
+$(LIB_CRYPTO)
+
 License:
 LGPLv2+
 
index 8bd22cc0e6d45b4d3f96663f6a70a7b0a26e422b..7771351b6e4674fd17a5fd2d33a89d800029c52e 100644 (file)
@@ -8,4 +8,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-gc-arctwo
 check_PROGRAMS += test-gc-arctwo
-test_gc_arctwo_LDADD = $(LDADD) $(GETRANDOM_LIB)
+test_gc_arctwo_LDADD = $(LDADD) @LIB_CRYPTO@ $(GETRANDOM_LIB)