8000 Backport PR #10484: Add libm when building Qhull. · matplotlib/matplotlib@8e0e44b · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8e0e44b

Browse files
dopplershiftMeeseeksDev[bot]
authored andcommitted
Backport PR #10484: Add libm when building Qhull.
1 parent 584420c commit 8e0e44b

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
@@ -1333,6 +1333,8 @@ def add_flags(self, ext):
13331333
else:
13341334
ext.include_dirs.insert(0, 'extern')
13351335
ext.sources.extend(sorted(glob.glob('extern/libqhull/*.c')))
1336+
if sysconfig.get_config_var('LIBM') == '-lm':
1337+
ext.libraries.extend('m')
13361338

13371339

13381340
class TTConv(SetupPackage):

0 commit comments

Comments
 (0)
0