Skip to content

Commit a1d8963

Browse files
committed
2 parents 9878940 + 2756d14 commit a1d8963

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

installation/freebsd/freebsd_pymupdf.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ setenv CFLAGS -fPIC
33
# install the pre-required tool
44
pkg install swig
55
pkg install freetype2
6+
pkg install gmake
67

78
wget https://mupdf.com/downloads/archive/mupdf-1.18.0-source.tar.gz
89
tar -zxvf mupdf-1.18.0-source.tar.gz

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,12 @@ def load_libraries():
9393
"/usr/local/include",
9494
"/usr/include/freetype2",
9595
"/usr/local/include/freetype2",
96+
"/opt/homebrew/include",
97+
"/opt/homebrew/include/mupdf",
98+
"/opt/homebrew/include/freetype2",
9699
],
97100
# libraries should already be linked here by brew
98-
library_dirs=["/usr/local/lib"],
101+
library_dirs=["/usr/local/lib", "/opt/homebrew/lib"],
99102
# library_dirs=['/usr/local/Cellar/mupdf-tools/1.8/lib/',
100103
#'/usr/local/Cellar/openssl/1.0.2g/lib/',
101104
#'/usr/local/Cellar/jpeg/8d/lib/',

0 commit comments

Comments
 (0)