Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py-pikepdf: remove unneeded Homebrew paths
- Loading branch information
1 parent
9d054f2
commit 5461a9a
Showing
2 changed files
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
--- setup.py.orig 2022-03-21 20:35:06.000000000 -0500 | ||
+++ setup.py 2022-03-21 20:35:36.000000000 -0500 | ||
@@ -19,8 +19,8 @@ | ||
--- setup.py.orig 2022-03-21 03:14:55.000000000 -0500 | ||
+++ setup.py 2022-03-23 05:44:48.000000000 -0500 | ||
@@ -18,9 +18,6 @@ | ||
extra_library_dirs.append(join(qpdf_source_tree, 'libqpdf/build/.libs')) | ||
if 'bsd' in sys.platform: | ||
extra_includes.append('/usr/local/include') | ||
elif 'darwin' in sys.platform and machine() == 'arm64': | ||
-elif 'darwin' in sys.platform and machine() == 'arm64': | ||
- extra_includes.append('/opt/homebrew/include') | ||
- extra_library_dirs.append('/opt/homebrew/lib') | ||
+ extra_includes.append('%PREFIX%/include') | ||
+ extra_library_dirs.append('%PREFIX%/lib') | ||
|
||
try: | ||
from setuptools_scm import get_version |