Skip to content

Commit f0224ea

Browse files
committed
fix android build
1 parent be10bc4 commit f0224ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@ def download_files(base_url, folder, file_map):
661661
"materialyoucolor.quantize.celebi",
662662
sorted(glob("materialyoucolor/quantize/*.cc")),
663663
extra_compile_args=["-std=c++17"] if os.name != "nt" else ["/std:c++17"],
664+
extra_link_args=["-shared"],
664665
)
665666
if not PURE_PYTHON
666667
else ()

0 commit comments

Comments
 (0)