Commit 9460aeee authored by Matthias Clasen's avatar Matthias Clasen

Merge branch '1436-please-for-the-love-of-things-just-build' into 'master'

Fix the stupid .Plo file errors

See merge request GNOME/glib!211
parents bcafcc5b ca0110c3
......@@ -1552,14 +1552,14 @@ dnl **********************
AC_MSG_CHECKING(for gspawn implementation)
case "$host" in
*-*-mingw*)
GSPAWN=gspawn-win32.lo
g_spawn_impl=win32
;;
*)
GSPAWN=gspawn.lo
g_spawn_impl=unix
;;
esac
AC_MSG_RESULT($GSPAWN)
AC_SUBST(GSPAWN)
AC_MSG_RESULT($g_spawn_impl)
AM_CONDITIONAL(G_SPAWN_WIN32, [test "$g_spawn_impl" = "win32"])
dnl *************************
dnl *** GIOChannel checks ***
......@@ -1568,14 +1568,14 @@ dnl *************************
AC_MSG_CHECKING(for GIOChannel implementation)
case "$host" in
*-*-mingw*)
GIO=giowin32.lo
g_io_channel_impl=win32
;;
*)
GIO=giounix.lo
g_io_channel_impl=unix
;;
esac
AC_MSG_RESULT($GIO)
AC_SUBST(GIO)
AC_MSG_RESULT($g_io_channel_impl)
AM_CONDITIONAL(G_IO_CHANNEL_WIN32, [test "$g_io_channel_impl" = "win32"])
dnl *********************************
dnl *** Directory for GIO modules ***
......@@ -1772,18 +1772,6 @@ dnl ****************************************
dnl *** platform dependent source checks ***
dnl ****************************************
AC_MSG_CHECKING(for platform-dependent source)
case "$host" in
*-*-cygwin*|*-*-mingw*)
PLATFORMDEP=gwin32.lo
;;
*)
PLATFORMDEP=
;;
esac
AC_MSG_RESULT($PLATFORMDEP)
AC_SUBST(PLATFORMDEP)
AC_MSG_CHECKING([whether to compile timeloop])
case "$host" in
*-*-cygwin*|*-*-mingw*|*-*-minix)
......
......@@ -163,6 +163,7 @@ libglib_2_0_la_SOURCES = \
gshell.c \
gslice.c \
gslist.c \
gspawn-private.h \
gstdio.c \
gstdioprivate.h \
gstrfuncs.c \
......@@ -222,13 +223,21 @@ libglib_2_0_la_SOURCES += gthread-posix.c
endif
endif
EXTRA_libglib_2_0_la_SOURCES = \
giounix.c \
giowin32.c \
gspawn.c \
gspawn-private.h \
gspawn-win32.c \
gwin32.c
if PLATFORM_WIN32
libglib_2_0_la_SOURCES += gwin32.c
endif
if G_SPAWN_WIN32
libglib_2_0_la_SOURCES += gspawn-win32.c
else
libglib_2_0_la_SOURCES += gspawn.c
endif
if G_IO_CHANNEL_WIN32
libglib_2_0_la_SOURCES += giowin32.c
else
libglib_2_0_la_SOURCES += giounix.c
endif
glibincludedir=$(includedir)/glib-2.0
glibinclude_HEADERS = \
......@@ -360,8 +369,8 @@ pcre_inc =
endif
libglib_2_0_la_CFLAGS = $(AM_CFLAGS) $(GLIB_HIDDEN_VISIBILITY_CFLAGS) $(LIBSYSTEMD_CFLAGS)
libglib_2_0_la_LIBADD = libcharset/libcharset.la $(printf_la) @GIO@ @GSPAWN@ @PLATFORMDEP@ @ICONV_LIBS@ @G_LIBS_EXTRA@ $(pcre_lib) $(G_THREAD_LIBS_EXTRA) $(G_THREAD_LIBS_FOR_GTHREAD) $(LIBSYSTEMD_LIBS)
libglib_2_0_la_DEPENDENCIES = libcharset/libcharset.la $(printf_la) @GIO@ @GSPAWN@ @PLATFORMDEP@ $(glib_win32_res) $(glib_def)
libglib_2_0_la_LIBADD = libcharset/libcharset.la $(printf_la) @ICONV_LIBS@ @G_LIBS_EXTRA@ $(pcre_lib) $(G_THREAD_LIBS_EXTRA) $(G_THREAD_LIBS_FOR_GTHREAD) $(LIBSYSTEMD_LIBS)
libglib_2_0_la_DEPENDENCIES = libcharset/libcharset.la $(printf_la) $(glib_win32_res) $(glib_def)
libglib_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
$(glib_win32_res_ldflag) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment