Files
main/office/misc/mupdf/files/shared-lib.patch
T
4fury-c3440d8 ee58ffd642 mupdf.
2021-10-15 11:19:22 +03:00

12 lines
444 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 -fcommon
LIBS += $(XLIBS) -lm
ifneq ($(threading),no)