mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 14:42:10 +01:00
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:
parent
0a2cd70e5e
commit
a076a30457
@ -1,3 +1,11 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
|
* glib/Makefile.am (glib-2.0.lib): Pass appropriate -machine flag
|
||||||
|
to lib.exe.
|
||||||
|
|
||||||
2008-07-25 15:47:08 Tim Janik <timj@imendio.com>
|
2008-07-25 15:47:08 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
* glib/tests/testing.c (test_random_conversions): added new sample
|
* glib/tests/testing.c (test_random_conversions): added new sample
|
||||||
|
@ -115,6 +115,7 @@ AC_MSG_RESULT([$glib_native_beos])
|
|||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_MSG_CHECKING([for Win32])
|
AC_MSG_CHECKING([for Win32])
|
||||||
|
LIB_EXE_MACHINE_FLAG=X86
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-mingw*)
|
*-*-mingw*)
|
||||||
glib_native_win32=yes
|
glib_native_win32=yes
|
||||||
@ -129,6 +130,11 @@ case "$host" in
|
|||||||
# So preset the autoconf cache variables.
|
# So preset the autoconf cache variables.
|
||||||
ac_cv_func_vsnprintf_c99=no
|
ac_cv_func_vsnprintf_c99=no
|
||||||
ac_cv_func_snprintf_c99=no
|
ac_cv_func_snprintf_c99=no
|
||||||
|
case "$host" in
|
||||||
|
x86_64-*-*)
|
||||||
|
LIB_EXE_MACHINE_FLAG=X64
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
glib_native_win32=no
|
glib_native_win32=no
|
||||||
@ -143,6 +149,8 @@ esac
|
|||||||
|
|
||||||
AC_MSG_RESULT([$glib_native_win32])
|
AC_MSG_RESULT([$glib_native_win32])
|
||||||
|
|
||||||
|
AC_SUBST(LIB_EXE_MACHINE_FLAG)
|
||||||
|
|
||||||
glib_have_carbon=no
|
glib_have_carbon=no
|
||||||
AC_MSG_CHECKING([for Mac OS X Carbon support])
|
AC_MSG_CHECKING([for Mac OS X Carbon support])
|
||||||
AC_TRY_CPP([
|
AC_TRY_CPP([
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2008-07-27 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
|
* Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
|
||||||
|
|
||||||
2008-07-24 David Zeuthen <davidz@redhat.com>
|
2008-07-24 David Zeuthen <davidz@redhat.com>
|
||||||
|
|
||||||
* gmount.[ch]:
|
* gmount.[ch]:
|
||||||
|
@ -147,7 +147,7 @@ endif
|
|||||||
|
|
||||||
if OS_WIN32
|
if OS_WIN32
|
||||||
appinfo_sources += gwin32appinfo.c gwin32appinfo.h
|
appinfo_sources += gwin32appinfo.c gwin32appinfo.h
|
||||||
platform_libadd += -lshlwapi
|
platform_libadd += -lshlwapi -lwininet
|
||||||
win32_sources = \
|
win32_sources = \
|
||||||
gwin32mount.c \
|
gwin32mount.c \
|
||||||
gwin32mount.h \
|
gwin32mount.h \
|
||||||
@ -350,4 +350,4 @@ gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
|
|||||||
gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c
|
gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c
|
||||||
|
|
||||||
gio-2.0.lib: libgio-2.0.la gio.def
|
gio-2.0.lib: libgio-2.0.la gio.def
|
||||||
lib -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gio.def -out:$@
|
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gio.def -out:$@
|
||||||
|
@ -339,7 +339,7 @@ install-exec-hook:
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
glib-2.0.lib: libglib-2.0.la glib.def
|
glib-2.0.lib: libglib-2.0.la glib.def
|
||||||
lib -name:libglib-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:glib.def -out:$@
|
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libglib-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:glib.def -out:$@
|
||||||
|
|
||||||
dist-hook: $(BUILT_EXTRA_DIST)
|
dist-hook: $(BUILT_EXTRA_DIST)
|
||||||
files='$(BUILT_EXTRA_DIST)'; \
|
files='$(BUILT_EXTRA_DIST)'; \
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2008-07-27 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
|
* Makefile.am (gmodule-2.0.lib): Pass appropriate -machine flag to lib.exe.
|
||||||
|
|
||||||
2008-07-21 Matthias Clasen <mclasen2redhat.com>
|
2008-07-21 Matthias Clasen <mclasen2redhat.com>
|
||||||
|
|
||||||
* === Released 2.17.4 ===
|
* === Released 2.17.4 ===
|
||||||
|
@ -91,7 +91,7 @@ gmodule-win32-res.o: gmodule.rc
|
|||||||
$(WINDRES) gmodule.rc $@
|
$(WINDRES) gmodule.rc $@
|
||||||
|
|
||||||
gmodule-2.0.lib: libgmodule-2.0.la gmodule.def
|
gmodule-2.0.lib: libgmodule-2.0.la gmodule.def
|
||||||
lib -name:libgmodule-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(srcdir)/gmodule.def -out:$@
|
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgmodule-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(srcdir)/gmodule.def -out:$@
|
||||||
|
|
||||||
.PHONY: files release
|
.PHONY: files release
|
||||||
|
|
||||||
|
@ -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>
|
2008-07-24 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
* gtype.h: Define G_TYPE_FORMAT as the printf format for a GType
|
* gtype.h: Define G_TYPE_FORMAT as the printf format for a GType
|
||||||
|
@ -244,7 +244,7 @@ gobject-win32-res.o: gobject.rc
|
|||||||
$(WINDRES) gobject.rc $@
|
$(WINDRES) gobject.rc $@
|
||||||
|
|
||||||
gobject-2.0.lib: libgobject-2.0.la gobject.def
|
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)
|
dist-hook: $(BUILT_EXTRA_DIST)
|
||||||
files='$(BUILT_EXTRA_DIST)'; \
|
files='$(BUILT_EXTRA_DIST)'; \
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2008-07-27 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
|
* Makefile.am (gthread-2.0.lib): Pass appropriate -machine flag to lib.exe.
|
||||||
|
|
||||||
2008-07-21 Matthias Clasen <mclasen2redhat.com>
|
2008-07-21 Matthias Clasen <mclasen2redhat.com>
|
||||||
|
|
||||||
* === Released 2.17.4 ===
|
* === Released 2.17.4 ===
|
||||||
|
@ -80,7 +80,7 @@ gthread-win32-res.o: gthread.rc
|
|||||||
$(WINDRES) gthread.rc $@
|
$(WINDRES) gthread.rc $@
|
||||||
|
|
||||||
gthread-2.0.lib: libgthread-2.0.la gthread.def
|
gthread-2.0.lib: libgthread-2.0.la gthread.def
|
||||||
lib -name:libgthread-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(srcdir)/gthread.def -out:$@
|
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgthread-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(srcdir)/gthread.def -out:$@
|
||||||
|
|
||||||
dist-hook: $(BUILT_EXTRA_DIST)
|
dist-hook: $(BUILT_EXTRA_DIST)
|
||||||
files='$(BUILT_EXTRA_DIST)'; \
|
files='$(BUILT_EXTRA_DIST)'; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user