Skip to content

Commit 023b89c

Browse files
committed
macosx wheel building: compile against homebrew's 'keg-only' libxml2 and icu4c
1 parent 3d25acc commit 023b89c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
libdirs.append("/opt/homebrew/libxml2/lib")
2222
includedirs.append("/opt/homebrew/libxml2/include")
2323
includedirs.append("/opt/homebrew/libxml2/include/libxml2")
24+
libdirs.append("/opt/homebrew/opt/icu4c/lib")
25+
includedirs.append("/opt/homebrew/opt/icu4c/include")
26+
libdirs.append("/opt/homebrew/opt/libxml2/lib")
27+
includedirs.append("/opt/homebrew/opt/libxml2/include")
2428
else:
2529
#we are running on Mac OS X with homebrew, stuff is in specific locations:
2630
libdirs.append("/usr/local/opt/icu4c/lib")

0 commit comments

Comments
 (0)