[GiNaC-list] Linking dl libraries is missing in ginac.pc

Isuru Fernando isuruf at gmail.com
Thu Sep 17 20:47:19 CEST 2015


Hi,

5745deb8 introduced linking with dl libraries, but it was not added to the
.pc files. Therefore list of link flags given by pkg-config is incomplete
and fails if `-ldl` is not added manually.

I have attached a patch which uses CMAKE_DL_LIBS variable (
http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_DL_LIBS)

Thanks,

Isuru Fernando
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20150918/3f0b5ced/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: link_dl_pc.patch
Type: text/x-patch
Size: 779 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20150918/3f0b5ced/attachment.patch>


More information about the GiNaC-list mailing list