From: Collin Funk Date: Tue, 23 Sep 2025 04:27:13 +0000 (-0700) Subject: crypto/gc-arctwo-tests: Fix link error when OpenSSL is enabled. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e77b6d1fec55a21c7421c80f3d5a890973ea889;p=thirdparty%2Fgnulib.git 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@. --- diff --git a/ChangeLog b/ChangeLog index 24f2d90e87..adf086501a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2025-09-22 Collin Funk + + 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 fchownat: Revert my earlier change today entirely. diff --git a/modules/crypto/gc b/modules/crypto/gc index bda331ff3d..385b9e3977 100644 --- a/modules/crypto/gc +++ b/modules/crypto/gc @@ -31,6 +31,9 @@ lib_LDFLAGS += $(LTLIBGCRYPT) Include: "gc.h" +Link: +$(LIB_CRYPTO) + License: LGPLv2+ diff --git a/modules/crypto/gc-arctwo-tests b/modules/crypto/gc-arctwo-tests index 8bd22cc0e6..7771351b6e 100644 --- a/modules/crypto/gc-arctwo-tests +++ b/modules/crypto/gc-arctwo-tests @@ -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)