8000 Merge pull request #10484 from QuLogic/qhull-libm · matplotlib/matplotlib@f304dca · GitHub
[go: up one dir, main page]

Skip to content

Commit f304dca

Browse files
authored
Merge pull request #10484 from QuLogic/qhull-libm
Add libm when building Qhull.
2 parents a0e91e1 + dc41103 commit f304dca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setupext.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,6 +1339,8 @@ def add_flags(self, ext):
13391339
else:
13401340
ext.include_dirs.insert(0, 'extern')
13411341
ext.sources.extend(sorted(glob.glob('extern/libqhull/*.c')))
1342+
if sysconfig.get_config_var('LIBM') == '-lm':
1343+
ext.libraries.extend('m')
13421344

13431345

13441346
class TTConv(SetupPackage):

0 commit comments

Comments
 (0)
0