Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on Windows. AC_SUBST it.

2008-07-27  Tor Lillqvist  <tml@novell.com>

	* configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
	Windows. AC_SUBST it.

	* */Makefile.am: Correspondingly, pass appropriate -machine
	flag to lib.exe when producing the import library for the MS
	toolchain.


svn path=/trunk/; revision=7255
This commit is contained in:
Tor Lillqvist
2008-07-27 15:54:15 +00:00
committed by Tor Lillqvist
parent 0a2cd70e5e
commit a076a30457
11 changed files with 38 additions and 6 deletions

View File

@@ -1,3 +1,7 @@
2008-07-27 Tor Lillqvist <tml@novell.com>
* Makefile.am (gobject-2.0.lib): Pass appropriate -machine flag to lib.exe.
2008-07-24 Tor Lillqvist <tml@novell.com>
* gtype.h: Define G_TYPE_FORMAT as the printf format for a GType

View File

@@ -244,7 +244,7 @@ gobject-win32-res.o: gobject.rc
$(WINDRES) gobject.rc $@
gobject-2.0.lib: libgobject-2.0.la gobject.def
lib -name:libgobject-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gobject.def -out:$@
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgobject-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gobject.def -out:$@
dist-hook: $(BUILT_EXTRA_DIST)
files='$(BUILT_EXTRA_DIST)'; \