Bug 528752 - Win32 build and SSL not working

2008-04-21  Tor Lillqvist  <tml@novell.com>

	Bug 528752 - Win32 build and SSL not working

	This bug report against libsoup points out an issue with the use
	of bitfields in the GIOChannel struct that should really be taken
	care of here in GLib.

	* configure.in: Add Autoconf variable GLIB_EXTRA_CFLAGS which will
	contain the -mms-bitfields flag on Windows.
	
	* glib-2.0.pc.in: Add it to Cflags.


svn path=/trunk/; revision=6868
This commit is contained in:
Tor Lillqvist 2008-04-21 12:24:49 +00:00 committed by Tor Lillqvist
parent 336cc8436b
commit cca1c88ea1
3 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,16 @@
2008-04-21 Tor Lillqvist <tml@novell.com>
Bug 528752 - Win32 build and SSL not working
This bug report against libsoup points out an issue with the use
of bitfields in the GIOChannel struct that should really be taken
care of here in GLib.
* configure.in: Add Autoconf variable GLIB_EXTRA_CFLAGS which will
contain the -mms-bitfields flag on Windows.
* glib-2.0.pc.in: Add it to Cflags.
2008-04-21 Tor Lillqvist <tml@novell.com>
* configure.in

View File

@ -321,6 +321,8 @@ if test x"$glib_native_win32" = xyes; then
fi
fi
fi
GLIB_EXTRA_CFLAGS="${msnative_struct}"
AC_SUBST(GLIB_EXTRA_CFLAGS)
AC_EXEEXT

View File

@ -11,5 +11,4 @@ Name: GLib
Description: C Utility Library
Version: @VERSION@
Libs: -L${libdir} -lglib-2.0 @INTLLIBS@ @ICONV_LIBS@
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include @GLIB_EXTRA_CFLAGS@