Open laolux opened 5 years ago
I'd second this, especially as Debian renames librarb.so to libflint-arb.so due to a naming conflict with something, and it gets tricky to figure out the library name to link against; I ran into it on https://trac.sagemath.org/ticket/27270
However, perhaps arb.pc
is not an ideal naming choice (due to existence of http://www.arb-home.de/), I'd use something like flint-arb.pc
, or arblib.pc
...
I would also like to see an Arb pkg-config file. Aside from the naming disparity, another reason Debian is pretty adamant about pkg-config files is that they make reliable cross compilation easier. I don't believe it needs to be a prerequesite, but discussion on adding one to FLINT is here. GMP (as of 6.2.0) and MPFR already have them.
Hi, I think it would be great if arb would create a pkg-config file (arb.pc) so that it is easier to use in other projects. I have a somewhat working solution by patching the Makefile.in. The makefile then creates the arb.pc and copies it to the correct location. If this feature has any chance to be integrated, then I will be happy to create a pull request. Best regards