Commit 4eecd2a7 by Zhigao Committed by Tianqi Chen

link the math library by default (#4713)

parent 81e03ee7
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment