From 4947b1349a390fe66debb0c058e381d138e282c4 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 2 Dec 2024 17:08:15 -0500 Subject: [PATCH] fix(poppler) closes #8082 --- projects/poppler.freedesktop.org/package.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/projects/poppler.freedesktop.org/package.yml b/projects/poppler.freedesktop.org/package.yml index bfc3c50255..a62604e4ce 100644 --- a/projects/poppler.freedesktop.org/package.yml +++ b/projects/poppler.freedesktop.org/package.yml @@ -43,13 +43,14 @@ dependencies: gnupg.org/libassuan: 2 littlecms.com: ^2.9 linux: - gnu.org/gcc: '*' # apparently, clang c++20 std isn't good enough + gnu.org/gcc/libstdcxx: 14 # apparently, clang c++20 std isn't good enough build: dependencies: cmake.org: '>=3.16.0' - freedesktop.org/pkg-config: '*' gnome.org/gobject-introspection: '>=1.64.0' + linux: + gnu.org/gcc: 14 script: - cmake -S . -B build_shared $ARGS - cmake --build build_shared @@ -77,9 +78,15 @@ build: ARGS: - -DCMAKE_C_FLAGS=-fPIC - -DCMAKE_CXX_FLAGS=-fPIC - - -DCMAKE_EXE_LINKER_FLAGS=-Wl,-pie,-lstdc++fs + # references to gettid() + - -DCMAKE_EXE_LINKER_FLAGS=-Wl,-pie,-lstdc++fs,--unresolved-symbols=ignore-in-shared-libs + # references to gettid() + LDFLAGS: $LDFLAGS -Wl,--unresolved-symbols=ignore-in-shared-libs linux/aarch64: ARGS: - - -DCMAKE_EXE_LINKER_FLAGS=-lstdc++fs + # references to gettid() + - -DCMAKE_EXE_LINKER_FLAGS=-Wl,-lstdc++fs,--unresolved-symbols=ignore-in-shared-libs + # references to gettid() + LDFLAGS: $LDFLAGS -Wl,--unresolved-symbols=ignore-in-shared-libs test: pdfinfo test.pdf