diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2012-08-17 08:12:49 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2012-08-17 08:12:49 -0700 |
commit | f95579d268719b701d2150fea025cdbbe21a0e45 (patch) | |
tree | f707aba637b27cfc293e9a7ff7157cc6b920d7cc /glib-patches | |
parent | 58b6b2d99595619934ebd4f2c82617d654133edd (diff) | |
download | pkg-config-f95579d268719b701d2150fea025cdbbe21a0e45.tar.gz |
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.
Diffstat (limited to 'glib-patches')
-rw-r--r-- | glib-patches/patchlist | 1 | ||||
-rw-r--r-- | glib-patches/static-only.patch | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/glib-patches/patchlist b/glib-patches/patchlist index e324cbb..e539292 100644 --- a/glib-patches/patchlist +++ b/glib-patches/patchlist @@ -4,3 +4,4 @@ foreign-automake.patch no-gregex.patch no-pkg-config.patch cross-compiling.patch +static-only.patch diff --git a/glib-patches/static-only.patch b/glib-patches/static-only.patch new file mode 100644 index 0000000..6148bd2 --- /dev/null +++ b/glib-patches/static-only.patch @@ -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]) + |