On Sat, May 13, 2023 at 10:04:26PM +0200, Theo Buehler wrote: > > Missing: c++.9 (/usr/local/lib/libSDL2_image.so.1.0) (system lib) > > Missing: c++abi.6 (/usr/local/lib/libSDL2_image.so.1.0) (system lib) > > WANTLIB += ${COMPILER_LIBCXX} > > > > However, the build log doesn't have any use of c++ in it. I'm a little > > puzzled by this, and would like to double-check if I'm missing > > something here before committing an update that will add a need for > > C++ libs to this port. > > Of the new LDEPS at least libjxl and libhwy are heavy C++ consumers. > My understanding is that WANTLIB should list the shared libs listed as > NEEDED in the readelf -d output. This does contain c++abi.6 and c++.9, > so the WANTLIB change seems fine.
Thanks. Does this mean the port needs a COMPILER=base-clang ports-gcc base-gcc line now? There is a portcheck warning after the WANTLIB addition, but if I understand the situation correctly, this doesn't pertain to the compiler in this case.