termux-packages/packages/mupdf/Makerules.patch

23 lines
647 B
Diff
Raw Normal View History

2020-01-01 19:41:12 +01:00
diff -uNr mupdf-1.15.0-source/Makerules mupdf-1.15.0-source.mod/Makerules
--- mupdf-1.15.0-source/Makerules 2019-05-06 14:53:09.000000000 +0300
+++ mupdf-1.15.0-source.mod/Makerules 2019-07-01 02:08:28.604522907 +0300
2022-01-18 08:51:22 +01:00
@@ -116,7 +116,8 @@
RANLIB = xcrun ranlib
else ifeq ($(OS),Linux)
- HAVE_OBJCOPY := yes
+ #HAVE_OBJCOPY := yes
+ HAVE_OBJCOPY := no
ifeq ($(shell pkg-config --exists freetype2 && echo yes),yes)
SYS_FREETYPE_CFLAGS := $(shell pkg-config --cflags freetype2)
@@ -186,7 +187,7 @@
2020-01-01 19:41:12 +01:00
HAVE_PTHREAD := yes
ifeq ($(HAVE_PTHREAD),yes)
PTHREAD_CFLAGS :=
- PTHREAD_LIBS := -lpthread
+ PTHREAD_LIBS :=
endif
endif