GNOME Bugzilla – Bug 782994
Port to meson build system
Last modified: 2017-06-22 15:51:58 UTC
Created attachment 352406 [details] [review] Port to meson build system Complete port to meson build system. - Taking advantage of the nature of meson, it will create the library as static or shared optionally. - Test framework has been setup, but actually it's not aplicable. - Added a confgiure_meson file to ease the configuration.
Attachment 352406 [details] pushed as 97b173c - Port to meson build system
FYI, the symbol exporting is completely incorrect, -export-symbols-regex is a libtool command, not an "ld" one. See this FAQ: http://mesonbuild.com/FAQ.html#how-do-i-do-the-equivalent-of-libtools-exportsymbol-and-exportregex See https://bugzilla.gnome.org/show_bug.cgi?id=784081
Too bad I wasn't fully aware of the problem. I have created a symbol visibility map, though adding a visibility attribute to the functions would also be nice (at least that is what I'm used to[0]). I have created a new bug with a patch[1] for this. Thank you! [0] https://github.com/inigomartinez/libcc2540 [1] https://bugzilla.gnome.org/show_bug.cgi?id=784097