File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ setenv CFLAGS -fPIC
33# install the pre-required tool
44pkg install swig
55pkg install freetype2
6+ pkg install gmake
67
78wget https://mupdf.com/downloads/archive/mupdf-1.18.0-source.tar.gz
89tar -zxvf mupdf-1.18.0-source.tar.gz
Original file line number Diff line number Diff 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/',
You can’t perform that action at this time.
0 commit comments