Fix static libstdc++ link

This commit is contained in:
Ilya Fedin 2025-06-05 11:15:52 +00:00 committed by John Preston
parent bfb4652425
commit a3308087a5

View file

@ -302,6 +302,7 @@ RUN git clone -b v0.11.1 --depth=1 https://github.com/libjxl/libjxl.git \
&& cmake --build build \
&& export DESTDIR=/usr/src/jxl-cache \
&& cmake --install build \
&& sed -i 's/-lstdc++//' $DESTDIR/usr/local/lib64/pkgconfig/libjxl*.pc \
&& rm $DESTDIR/usr/local/lib64/libjpeg.so* \
&& cp build/lib/libjpegli-static.a $DESTDIR/usr/local/lib64/libjpeg.a \
&& mkdir build/hwy \