GNOME Bugzilla – Bug 787122
Please change librt to other lib for compability with mac os in libdazzle
Last modified: 2017-09-03 21:47:29 UTC
In my mac os i dont can compile libdazzle because library using librt. Mac os not have librt and i get this line in compile time: Library rt found: NO
(In reply to Anton Shramko from comment #0) > Library rt found: NO That should be non-fatal as we don't require it cc.find_library('rt', required: false),
(In reply to Christian Hergert from comment #1) > cc.find_library('rt', required: false), Cool, thanks
I got my hands on an OS X box today and I think I fixed the issue. It was caused by our linker version script, which is not supported on GCC/Clang on OS X.
(In reply to Christian Hergert from comment #3) > I got my hands on an OS X box today and I think I fixed the issue. It was > caused by our linker version script, which is not supported on GCC/Clang on > OS X. You asked me about this a while back and I gave you this patch to test out: https://git.gnome.org/browse/gnome-builder/commit/?h=wip/tingping/version-script If that check works we can conditionally use them.
(In reply to Patrick Griffis (tingping) from comment #4) > You asked me about this a while back and I gave you this patch to test out: > https://git.gnome.org/browse/gnome-builder/commit/?h=wip/tingping/version- > script > > If that check works we can conditionally use them. Cool, pushed as https://git.gnome.org/browse/libdazzle/commit/?id=4f34ef8e6140bc1d7686a29fdd2264b32a051698
And fixed in Builder in 9f9891b Has a path typo in the libdazzle commit, but fixed now.