1 |
--- w3m-0.5.3/configure.orig 2011-01-15 03:04:22.000000000 +0000 |
2 |
+++ w3m-0.5.3/configure 2011-09-19 14:27:20.000000000 +0000 |
3 |
@@ -8209,7 +8209,7 @@ |
4 |
$as_echo_n "(cached) " >&6 |
5 |
else |
6 |
ac_check_lib_save_LIBS=$LIBS |
7 |
-LIBS="-lgc $LIBS" |
8 |
+LIBS="-Wl,-Bstatic -lgc -Wl,-Bdynamic $LIBS" |
9 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10 |
/* end confdefs.h. */ |
11 |
|
12 |
@@ -8240,7 +8240,7 @@ |
13 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gc_GC_init" >&5 |
14 |
$as_echo "$ac_cv_lib_gc_GC_init" >&6; } |
15 |
if test "x$ac_cv_lib_gc_GC_init" = x""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 |
@@ -8261,7 +8261,7 @@ |
22 |
$as_echo_n "(cached) " >&6 |
23 |
else |
24 |
ac_check_lib_save_LIBS=$LIBS |
25 |
-LIBS="-lgc $LIBS" |
26 |
+LIBS="-Wl,-Bstatic -lgc -Wl,-Bdynamic $LIBS" |
27 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
28 |
/* end confdefs.h. */ |
29 |
|
30 |
@@ -8292,7 +8292,7 @@ |
31 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gc_GC_init" >&5 |
32 |
$as_echo "$ac_cv_lib_gc_GC_init" >&6; } |
33 |
if test "x$ac_cv_lib_gc_GC_init" = x""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" |