Subject: | "-pthread" not accepted as linker flag |
The "-pthread" argument appears in FreeBSD's xml2-config output:
$ xml2-config --libs
-L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm -pthread
It's causing Devel::CheckLib::assert_lib to fail with:
LIBS argument badly-formed: -pthread
This is somewhat related to #81330, only there the -R flag was not accepted.
Maybe it's best to just accept anything here, without checking for -l/-L
flags?
Regards,
Slaven