On 2021/01/01 05:28, Alexander Bluhm wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   bl...@cvs.openbsd.org   2021/01/01 05:28:25
> 
> Log message:
>     import libmodsecurity 3.0.4
>     from Matthias Pitzl; OK benoit@

This hardcodes libstdc++ which needs removing; build fails on clang-only
arches, and it can't be doing anything good on clang+gcc arches either.
In most ports which do this, just removing the hardcoded -lstdc++ works.
If not then I think we have a few where it picks either -lestdc++ or
-lc++ depending on what is used to build it.


/usr/bin/libtool  --tag=CC   --mode=link cc -I../../headers -I../..  -O2 -pipe 
-L../../src/.libs/  -lmodsecurity -lpth
read -lm -lstdc++   -L/usr/local/lib -L/usr/local/lib  -o multi multi-multi.o   
-lmaxminddb  
warning: could not find a stdc++ library
Link error: stdc++ not found!

Reply via email to