glib: Allow cross-building with native glib 2.24.
[minipack.git] / patches / gd / 0002-Libtool-requires-no-undefined-to-build-a-DLL.patch
blob7180dc29f9b8a6d833631e1d5e8a203c770a5493
1 From 59069ae7191d091fae75bb57d12651281d6bdee6 Mon Sep 17 00:00:00 2001
2 From: Cesar Strauss <cestrauss@gmail.com>
3 Date: Fri, 24 Oct 2008 20:09:39 -0200
4 Subject: [PATCH] Libtool requires -no-undefined to build a DLL.
6 ---
7 configure.ac | 3 +++
8 1 files changed, 3 insertions(+), 0 deletions(-)
10 diff --git a/configure.ac b/configure.ac
11 index bc7b83c..ed9b052 100644
12 --- a/configure.ac
13 +++ b/configure.ac
14 @@ -33,6 +33,9 @@ case "$target" in
15 *-*-cygwin*) XTRA_LDFLAGS="-no-undefined"
16 os_cygwin=yes
18 + *-*-mingw*) XTRA_LDFLAGS="-no-undefined"
19 + os_cygwin=no
20 + ;;
21 *) XTRA_LDFLAGS=
22 os_cygwin=no
24 --
25 1.5.4.3