build: Conditionally add gwin32.c to sources without using EXTRA_ prefix
commit862fe11f9060b39e8fc0da3fcc5a10ce4f1030a8
authorPhilip Withnall <withnall@endlessm.com>
Tue, 31 Jul 2018 13:40:29 +0000 (31 14:40 +0100)
committerPhilip Withnall <withnall@endlessm.com>
Tue, 31 Jul 2018 17:52:37 +0000 (31 18:52 +0100)
treecc905f2d299f44365595619d29836da98d863f71
parentbcafcc5b542b78dd6ae79404d707ae4da88397be
build: Conditionally add gwin32.c to sources without using EXTRA_ prefix

Instead of messing around with EXTRA_*_SOURCES and manually handling .lo
files, why not just add gwin32.c to the GLib sources conditionally?

This will hopefully fix `make distcheck` failing due to gwin32.Plo not
being generated in the sub-builddir≠srcdir stage, due to depcomp
inexplicably not generating it. (Note that it is correctly generated in
non-distcheck builds.)

Signed-off-by: Philip Withnall <withnall@endlessm.com>
configure.ac
glib/Makefile.am