/[packages]/cauldron/w3m/current/SOURCES/w3m-0.5.2-static-libgc.patch
ViewVC logotype

Contents of /cauldron/w3m/current/SOURCES/w3m-0.5.2-static-libgc.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65217 - (show annotations) (download)
Sun Mar 6 11:34:25 2011 UTC (13 years, 1 month ago) by saispo
File size: 1198 byte(s)
imported package w3m
1 --- w3m-0.5.2/configure.orig 2007-06-05 00:51:34.000000000 +0200
2 +++ w3m-0.5.2/configure 2007-06-05 00:52:56.000000000 +0200
3 @@ -7893,7 +7893,7 @@
4 echo $ECHO_N "(cached) $ECHO_C" >&6
5 else
6 ac_check_lib_save_LIBS=$LIBS
7 -LIBS="-lgc $LIBS"
8 +LIBS="-Wl,-Bstatic -lgc -Wl,-Bdynamic $LIBS"
9 cat >conftest.$ac_ext <<_ACEOF
10 /* confdefs.h. */
11 _ACEOF
12 @@ -7949,7 +7949,7 @@
13 { echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_init" >&5
14 echo "${ECHO_T}$ac_cv_lib_gc_GC_init" >&6; }
15 if test $ac_cv_lib_gc_GC_init = yes; then
16 - LIBGC="-lgc"
17 + LIBGC="-Wl,-Bstatic -lgc -Wl,-Bdynamic"
18 fi
19
20 if test x"$ac_cv_lib_gc_GC_init" = xno; then
21 @@ -7970,7 +7970,7 @@
22 echo $ECHO_N "(cached) $ECHO_C" >&6
23 else
24 ac_check_lib_save_LIBS=$LIBS
25 -LIBS="-lgc $LIBS"
26 +LIBS="-Wl,-Bstatic -lgc -Wl,-Bdynamic $LIBS"
27 cat >conftest.$ac_ext <<_ACEOF
28 /* confdefs.h. */
29 _ACEOF
30 @@ -8026,7 +8026,7 @@
31 { echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_init" >&5
32 echo "${ECHO_T}$ac_cv_lib_gc_GC_init" >&6; }
33 if test $ac_cv_lib_gc_GC_init = yes; then
34 - gclibdir="$dir/lib"; LIBGC="-L$dir/lib -lgc"; break
35 + gclibdir="$dir/lib"; LIBGC="-L$dir/lib -Wl,-Bstatic -lgc -Wl,-Bdynamic"; break
36 fi
37
38 LDFLAGS="$ldflags"

  ViewVC Help
Powered by ViewVC 1.1.30