We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df3d923 commit 20bfdfaCopy full SHA for 20bfdfa
1 file changed
meson.build
@@ -10,11 +10,11 @@ mpfr_dep = dependency('mpfr')
10
flint_dep = dependency('flint')
11
12
13
+
14
if flint_dep.version().version_compare('<3.1')
- flint_dep = declare_dependency(
15
- dependencies: flint_dep,
16
- link_args: ['-lflint'],
17
- )
+ # This is a workaround for the fact that the flint.pc file in flint < 3.1
+ # is missing -lflint. This is fixed in flint 3.1.0.
+ flint_dep = cc.find_library('flint')
18
endif
19
20
pyflint_deps = [dep_py, gmp_dep, mpfr_dep, flint_dep]
0 commit comments