[Kde-pim] Review Request: Build fix - Link to libexecinfo on FreeBSD when necessary
Raphael Kubo da Costa
kubito at gmail.com
Mon Nov 23 02:21:34 GMT 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2255/
-----------------------------------------------------------
(Updated 2009-11-23 02:21:34.195793)
Review request for KDE PIM.
Changes
-------
Updated the patch according to Alex's suggestions: a new variable AKONADI_SYSTEM_LIBS is defined, and we now check for the backtrace function before finding it.
Summary
-------
At least on FreeBSD, execinfo isn't provided directly by libc, but by a separate port/package which, besides providing execinfo.h, also has a libexecinfo to link to when using functions such as backtrace().
This patch looks for libexecinfo and adds it to the libraries used to link akonadiprivate when necessary.
Diffs (updated)
-----
/trunk/kdesupport/akonadi/CMakeLists.txt 1052935
/trunk/kdesupport/akonadi/server/CMakeLists.txt 1052935
/trunk/kdesupport/akonadi/server/akonadictl/CMakeLists.txt 1052935
/trunk/kdesupport/akonadi/server/control/CMakeLists.txt 1052935
Diff: http://reviewboard.kde.org/r/2255/diff
Testing
-------
After the changes, a FreeBSD build of akonadi with execinfo installed has succeeded.
Thanks,
Raphael
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list