[poppler] glib/CMakeLists.txt
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue May 28 07:31:27 UTC 2019
glib/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9481c4733db409c755afee6de0cb784934267dc3
Author: maxice8 <thinkabit.ukim at gmail.com>
Date: Fri Feb 8 16:01:59 2019 -0200
glib: pass poppler to gir libs.
Fixes cross compilation of gir in Void Linux
[ 85%] Generating Poppler-0.18.gir
g-ir-scanner: link: aarch64-linux-gnu-gcc -o /builddir/poppler-0.74.0/build/glib/tmp-introspectfs1jd4m9/Poppler-0.18 -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv8-a -I/usr/aarch64-linux-gnu/usr/include /builddir/poppler-0.74.0/build/glib/tmp-introspectfs1jd4m9/Poppler-0.18.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/builddir/poppler-0.74.0/build -Wl,-rpath,/builddir/poppler-0.74.0/build -L/builddir/poppler-0.74.0/build/glib -Wl,-rpath,/builddir/poppler-0.74.0/build/glib -lpoppler-glib -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -L/usr/aarch64-linux-gnu/usr/lib
/usr/lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: warning: libpoppler.so.85, needed by ./libpoppler-glib.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: ./libpoppler-glib.so: undefined reference to `FormWidgetText::noSpellCheck() const'
diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt
index 6f91669d..ca5021f7 100644
--- a/glib/CMakeLists.txt
+++ b/glib/CMakeLists.txt
@@ -135,7 +135,7 @@ if (HAVE_INTROSPECTION AND BUILD_SHARED_LIBS)
get_directory_property(_tmp_includes INCLUDE_DIRECTORIES)
_list_prefix(_includes _tmp_includes "-I")
set(Poppler_0_18_gir_CFLAGS ${_includes} -L${CMAKE_BINARY_DIR} -L${CMAKE_CURRENT_BINARY_DIR})
- set(Poppler_0_18_gir_LIBS poppler-glib)
+ set(Poppler_0_18_gir_LIBS poppler-glib poppler)
_list_prefix(_abs_introspection_files introspection_files "${CMAKE_CURRENT_SOURCE_DIR}/")
list(APPEND _abs_introspection_files
${CMAKE_CURRENT_BINARY_DIR}/poppler-enums.c
More information about the poppler
mailing list