krakjoe / apcu

APCu - APC User Cache
Other
964 stars 196 forks source link

Fix error linking with pthread #469

Open TysonAndre opened 1 year ago

TysonAndre commented 1 year ago

Noticed in php 8.3-dev configured with --disable-all

The "-pthread" flag wasn't actually getting used in the makefile.

TysonAndre commented 1 year ago

https://github.com/php/php-src/commit/ea372e74634f14bdb534f4921e1e325e3f589c8f is also relevant - neither the old nor new version work in php < 7.4.14.

A possible alternative is to manually concatenate the string instead