GNOME Bugzilla – Bug 791460
meson: fixes for OSX
Last modified: 2018-01-04 21:00:34 UTC
Created attachment 365336 [details] [review] patch Some patches to make glib build with meson on OSX
Created attachment 365337 [details] [review] patch
Created attachment 365338 [details] [review] patch
Created attachment 365340 [details] [review] updated patch
Created attachment 365341 [details] [review] updated patch
Review of attachment 365337 [details] [review]: LGTM
Review of attachment 365340 [details] [review]: LGTM
Review of attachment 365341 [details] [review]: ::: gio/meson.build @@ +19,3 @@ # they aren't present at run-time (on Windows 2000). gnetworking_h_wspiapi_include = '#include <wspiapi.h>' +elif not host_system.contains('android') I think this needs a comment explaining what exactly this check is doing. It obviously confused someone before when porting from autotools to meson, and it will happen again :)
I edited the comment right before the C_IN patch, all pushed.
While working on adding those flags into glib and gio pc files, I noticed that configure.ac add them into LDFLAGS which means everything gets built with those flags and not only libglib, as far as I understand. The corresponding in meson world is add_project_link_arguments(). I changed that in attachment #366328 [details] on bug #788773. Please comment there if I'm wrong.