Fix poppler build (#7945)

This commit is contained in:
tsdgeos 2022-07-06 05:30:51 +02:00 committed by GitHub
parent bcf1fcd990
commit 6afccf95f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -84,7 +84,8 @@ make install
mkdir -p $SRC/openjpeg/build
pushd $SRC/openjpeg/build
cmake .. -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=$PREFIX
sed -i "s#\${LCMS_LIBNAME}#-L$PREFIX/lib \${LCMS_LIBNAME}#" ../src/bin/jp2/CMakeLists.txt
PKG_CONFIG=`which pkg-config` cmake .. -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=$PREFIX
make -j$(nproc) install
if [ "$SANITIZER" != "memory" ]; then
@ -131,7 +132,7 @@ if [ "$SANITIZER" != "memory" ]; then
popd
pushd $SRC/pango
meson \
CFLAGS="$CFLAGS -fno-sanitize=vptr" CXXFLAGS="$CXXFLAGS -fno-sanitize=vptr" meson \
-Ddefault_library=static \
--prefix=$PREFIX \
--libdir=lib \