Compiling a testdir for 'call_once' on mingw, I get link errors due to
'mtx_lock' and 'mtx_unlock'.

This patch fixes it.


2024-05-29  Bruno Haible  <br...@clisp.org>

        call_once tests: Fix link error on mingw.
        * modules/call_once-tests (Depends-on): Add mtx.

diff --git a/modules/call_once-tests b/modules/call_once-tests
index 7889c9a1d7..6199acb886 100644
--- a/modules/call_once-tests
+++ b/modules/call_once-tests
@@ -6,6 +6,7 @@ tests/macros.h
 Depends-on:
 thrd
 lock
+mtx
 stdint
 
 configure.ac:




Reply via email to