Skip to content

Commit

Permalink
macosx wheel building: compile against homebrew's 'keg-only' libxml2 …
Browse files Browse the repository at this point in the history
…and icu4c
  • Loading branch information
proycon committed Sep 13, 2023
1 parent 3d25acc commit 023b89c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
libdirs.append("/opt/homebrew/libxml2/lib")
includedirs.append("/opt/homebrew/libxml2/include")
includedirs.append("/opt/homebrew/libxml2/include/libxml2")
libdirs.append("/opt/homebrew/opt/icu4c/lib")
includedirs.append("/opt/homebrew/opt/icu4c/include")
libdirs.append("/opt/homebrew/opt/libxml2/lib")
includedirs.append("/opt/homebrew/opt/libxml2/include")
else:
#we are running on Mac OS X with homebrew, stuff is in specific locations:
libdirs.append("/usr/local/opt/icu4c/lib")
Expand Down

0 comments on commit 023b89c

Please sign in to comment.