SHA256
1
0
forked from pool/mupdf
mupdf/mupdf-fix-openjpeg2.patch

16 lines
635 B
Diff
Raw Normal View History

2014-01-06 04:43:18 +01:00
Index: mupdf-1.3-source/Makerules
===================================================================
--- mupdf-1.3-source.orig/Makerules
+++ mupdf-1.3-source/Makerules
@@ -62,8 +62,8 @@ SYS_X11_LIBS = $(shell pkg-config --libs
SYS_FREETYPE_CFLAGS = $(shell pkg-config --cflags freetype2)
SYS_FREETYPE_LIBS = $(shell pkg-config --libs freetype2)
-SYS_OPENJPEG_CFLAGS = $(shell pkg-config --cflags libopenjpeg1)
-SYS_OPENJPEG_LIBS = $(shell pkg-config --libs libopenjpeg1)
+SYS_OPENJPEG_CFLAGS = -I/usr/include/openjpeg-2.0
+SYS_OPENJPEG_LIBS = -lopenjp2
SYS_JBIG2DEC_LIBS = -ljbig2dec
SYS_JPEG_LIBS = -ljpeg
SYS_ZLIB_LIBS = -lz