Closed valgur closed 2 months ago
Thank you. Is there a particular COIN-OR project where you need this to be applied?
Thanks! I'm mostly interested in Osi and Clp currently, personally. I've already applied the patch in the package repo I'm using (https://github.com/valgur/conan-center-index/commit/5bf1cb6a04fbce38a9c37a8f510227236875898f), so I'm no longer affected by this, though.
Using Clang as
$CC
or$CXX
with an absolute path breaks./configure
due to it being misclassified ascl
in many places.Notably, it causes the linker to be set as
link
instead ofld
, which in turn causes theSONAME
property in .so files to not be set and the library to be referenced only via full paths in the.dynamic
section when linked against.There's one spot currently that handled it correctly: https://github.com/coin-or-tools/BuildTools/blob/releases/0.8.11/coin.m4#L327 I applied the same logic to all other locations in
coin.m4
.