aports/community/mupdf/shared-lib.patch
Milan P. Stanić a30b4eae51 community/mupdf: upgrade to 1.19.0
remove bug-fix-overflow.patch, CVE-2021-3407.patch and
harden-pupulate-ui-against-unexpecter-repairs.patch, fixed upstream
refactor shared-lib.patch
add 'shared=yes' to build shared libs, this is changed upstream
2021-10-13 06:29:59 +00:00

12 lines
435 B
Diff

--- a/Makefile 2020-11-22 16:06:50.382848861 +0000
+++ b/Makefile 2020-11-22 16:11:49.044201863 +0000
@@ -24,7 +24,7 @@
# Do not specify CFLAGS or LIBS on the make invocation line - specify
# XCFLAGS or XLIBS instead. Make ignores any lines in the makefile that
# set a variable that was set on the command line.
-CFLAGS += $(XCFLAGS) -Iinclude
+CFLAGS += $(XCFLAGS) -Iinclude -fPIC
LIBS += $(XLIBS) -lm
ifneq ($(threading),no)