djvu port from 1.2 version bump need for okular

This commit is contained in:
groni
2015-11-02 21:42:47 +01:00
parent 7eed94e10d
commit 44c90fae4f
5 changed files with 156 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
Index: djvulibre-3.5.22/config/acinclude.m4
===================================================================
--- djvulibre-3.5.22.orig/config/acinclude.m4
+++ djvulibre-3.5.22/config/acinclude.m4
@@ -408,7 +408,7 @@ case "${host_os}-${GCC}" in
# On Linux/GCC, libtool uses -nostdlib for linking, which cancel part
# of the -pthread flag effect (libpthread is not automatically linked).
# So we'll try to link with both -pthread and -lpthread first:
- acx_pthread_flags="-pthread:pthread $acx_pthread_flags"
+ acx_pthread_flags="-lpthread -pthread:pthread $acx_pthread_flags"
;;
esac
if test x"$acx_pthread_ok" = xno; then