]> git.draconx.ca Git - cdecl99.git/commit
libcdecl: Mark pthread_once as weak when needed.
authorNick Bowler <nbowler@draconx.ca>
Fri, 5 Apr 2024 04:01:49 +0000 (00:01 -0400)
committerNick Bowler <nbowler@draconx.ca>
Fri, 5 Apr 2024 04:03:34 +0000 (00:03 -0400)
commite858f29097fa175c861339a15c5e1f04ac511036
treeff70be4c0bfcaffaaac04f6f9ad5a6d4c86838a3
parente8d68da976b14001f8abbc56cf4ae01c7b6f9187
libcdecl: Mark pthread_once as weak when needed.

When the "lock" module was removed we forgot to add pthread_once to
the list of pthreads symbols marked weak, leading to build failures
on systems which don't provide this symbol in libc.
src/thread-posix.h