glib: Ensure only static build is performed

Since we're going to use glib as a convenience library, we need to make
sure it builds as if --enable-static was passed. This only matters on
Windows where a couple extra macros are defined and the DLL machinery is
disabled.
This commit is contained in:
Dan Nicholson 2012-08-17 08:12:49 -07:00
parent 58b6b2d995
commit f95579d268
3 changed files with 15 additions and 1 deletions

View file

@ -4,3 +4,4 @@ foreign-automake.patch
no-gregex.patch
no-pkg-config.patch
cross-compiling.patch
static-only.patch

View file

@ -0,0 +1,13 @@
diff --git a/glib/configure.ac b/glib/configure.ac
index 160f57d..a78d516 100644
--- a/glib/configure.ac
+++ b/glib/configure.ac
@@ -498,7 +498,7 @@ esac
dnl Initialize libtool
LT_PREREQ([2.2])
-LT_INIT([disable-static win32-dll])
+LT_INIT([disable-shared win32-dll])
dnl when using libtool 2.x create libtool early, because it's used in configure
m4_ifdef([LT_OUTPUT], [LT_OUTPUT])

View file

@ -498,7 +498,7 @@ esac
dnl Initialize libtool
LT_PREREQ([2.2])
LT_INIT([disable-static win32-dll])
LT_INIT([disable-shared win32-dll])
dnl when using libtool 2.x create libtool early, because it's used in configure
m4_ifdef([LT_OUTPUT], [LT_OUTPUT])