Scintilla requires C++ threads which at least on GCC 8 Linux requires 
explicitly linking to libpthread.

This fixes building with `-Wl,-z,defs` linker flags on GCC 8.

---

This was under Debian Buster (10, fairly old I agree), it seems to work fine 
without on my usual machine on Bookworm (12).  Is there a downside of linking 
pthreads?
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/3888

-- Commit Summary --

  * Explicitly link to libpthread if available

-- File Changes --

    M m4/geany-lib.m4 (4)

-- Patch Links --

https://github.com/geany/geany/pull/3888.patch
https://github.com/geany/geany/pull/3888.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3888
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/[email protected]>

Reply via email to