comparison src/glib-4-fix-dependency-libs.patch @ 987:77ef614fd370

replaced $(SED) action with a clean patch in package glib
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 19 May 2010 22:35:49 +0200
parents
children
comparison
equal deleted inserted replaced
986:73644e566f03 987:77ef614fd370
1 This file is part of mingw-cross-env.
2 See doc/index.html for further information.
3
4 This patch has been taken from:
5 https://bugzilla.gnome.org/show_bug.cgi?id=619126
6
7 diff -r 1168b72613ae configure.in
8 --- a/configure.in Wed May 19 20:15:53 2010 +0200
9 +++ b/configure.in Wed May 19 21:11:17 2010 +0200
10 @@ -2711,7 +2711,7 @@
11 G_LIBS_EXTRA="-luser32 -lkernel32"
12 ;;
13 *-*-mingw*)
14 - G_LIBS_EXTRA="-lws2_32 -lole32"
15 + G_LIBS_EXTRA="-lws2_32 -lole32 -lshlwapi"
16 ;;
17 *)
18 G_LIBS_EXTRA=""
19 diff -r 1168b72613ae glib-2.0.pc.in
20 --- a/glib-2.0.pc.in Wed May 19 20:15:53 2010 +0200
21 +++ b/glib-2.0.pc.in Wed May 19 20:17:05 2010 +0200
22 @@ -11,5 +11,5 @@
23 Description: C Utility Library
24 Version: @VERSION@
25 Libs: -L${libdir} -lglib-2.0 @INTLLIBS@
26 -Libs.private: @ICONV_LIBS@
27 +Libs.private: @G_THREAD_LIBS@ @G_LIBS_EXTRA@ @PCRE_LIBS@ @INTLLIBS@ @ICONV_LIBS@
28 Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include @GLIB_EXTRA_CFLAGS@