Skip to content

Commit

Permalink
link the math library by default (#4713)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhigaowu authored and tqchen committed Jan 15, 2020
1 parent 81e03ee commit 4eecd2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/contrib/ndk.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def create_shared(output,
else:
cmd += objects

options = options if options else ["-shared", "-fPIC"]
options = options if options else ["-shared", "-fPIC", "-lm"]
cmd += options

proc = subprocess.Popen(
Expand Down

0 comments on commit 4eecd2a

Please sign in to comment.