Add a link argument that is missing from the pkgconfig .pc file #607
-
The remaining outstanding issue for flintlib/python-flint#129 is that using meson-python and pkg config is incompatible with
Here It turns out that this is because of a bug in Flint's pkgconfig configuration that was fixed in Flint 3.1.0 by adding This leaves python-flint with a choice:
I'm exploring the how to work around the buggy
but that did not seem to have any effect. I also tried adding
to every
I don't see exactly what is special about the function Is there a simple way to edit the meson.build files (or otherwise) that is more or less equivalent to adding the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Something like this using declare_dependency should work (untested, but I have code like this somewhere): flint_dep = dependency('flint')
if flint_dep.version().version_compare('<3.1')
flint_dep = declare_dependency(
dependencies: flint_dep,
link_args: ['-lflint']),
)
endif |
Beta Was this translation helpful? Give feedback.
Something like this using declare_dependency should work (untested, but I have code like this somewhere):