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, ...@@ -51,7 +51,7 @@ def create_shared(output,
else: else:
cmd += objects cmd += objects
options = options if options else ["-shared", "-fPIC"] options = options if options else ["-shared", "-fPIC", "-lm"]
cmd += options cmd += options
proc = subprocess.Popen( 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