BUILD: thread: limit the libgcc_s workaround to glibc only
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Sep 2020 07:53:47 +0000 (09:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Sep 2020 07:53:47 +0000 (09:53 +0200)
commit06a1806083dd9f0d21e045baad4c61559211f956
tree48c2d00f368de39d12b0dd1c55ffefb344d8893d
parent77b98220e81207aad854e480e6207d501d476666
BUILD: thread: limit the libgcc_s workaround to glibc only

Previous commit 77b98220e ("BUG/MINOR: threads: work around a libgcc_s
issue with chrooting") broke the build on cygwin. I didn't even know we
supported threads on cygwin. But the point is that it's actually the
glibc-based libpthread which requires libgcc_s, so in absence of other
reports we should not apply the workaround on other libraries.

This should be backported along with the aforementioned patch.
src/thread.c