I'm talking about --enable-trace option. In the configure.ac it depends on have_ld variable which is set to yes on *-linux* and *-*bsd* hosts since they support LD_PRELOAD enviromental variable. On Mac's there is DYLD_INSERT_LIBRARIES enviromental variable which can be used similar to LD_PRELOAD More info here http://blogs.sun.com/DatabaseEmporium/entry/where_is_ld_preload_under Hopefully you will be able to --enable-trace on macs as well. This is a wishlist bug I'll use --disable-trace for now. I really don't know anything about cairo i'm trying to compile gtk program =)
Created attachment 30947 [details] [review] Patch to enable cairo-trace on MacOS X This patch makes cairo-trace a shared library instead of a module. I don't know if there are good reasons to have it as a module, but it looks like modules cannot be preloaded in MacOS X. Only tested on MacOS 10.5. Please check it doesn't break cairo-trace on linux (or bsd/solaris, it should be the same) before committing.
Pushed to master, thanks Andrea.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.