30 lines
856 B
Diff
30 lines
856 B
Diff
diff -Nru mupdf-1.4rc1-source.orig/Makerules mupdf-1.4rc1-source/Makerules
|
|
--- mupdf-1.4rc1-source.orig/Makerules 2014-04-08 15:47:54.229773268 +0200
|
|
+++ mupdf-1.4rc1-source/Makerules 2014-04-08 16:12:39.293770693 +0200
|
|
@@ -76,6 +76,8 @@
|
|
SYS_JBIG2DEC_LIBS = -ljbig2dec
|
|
SYS_JPEG_LIBS = -ljpeg
|
|
SYS_ZLIB_LIBS = -lz
|
|
+SYS_CURL_CFLAGS = $(shell pkg-config --cflags libcurl)
|
|
+SYS_CURL_LIBS = $(shell pkg-config --libs libcurl) -lpthread
|
|
|
|
endif
|
|
|
|
diff -Nru mupdf-1.4rc1-source.orig/Makethird mupdf-1.4rc1-source/Makethird
|
|
--- mupdf-1.4rc1-source.orig/Makethird 2014-04-08 15:47:54.329769765 +0200
|
|
+++ mupdf-1.4rc1-source/Makethird 2014-04-08 16:17:27.233759450 +0200
|
|
@@ -454,6 +454,13 @@
|
|
CURL_LIBS := $(SYS_CURL_DEPS)
|
|
|
|
HAVE_CURL := yes
|
|
+
|
|
+else
|
|
+
|
|
+CURL_CFLAGS := $(SYS_CURL_CFLAGS)
|
|
+CURL_LIBS := $(SYS_CURL_LIBS)
|
|
+HAVE_CURL := yes
|
|
+
|
|
endif
|
|
|
|
# --- X11 ---
|