Line 0
Link Here
|
|
|
1 |
--- configure.orig 2006-11-24 18:13:57.000000000 +0100 |
2 |
+++ configure 2007-09-25 20:39:26.000000000 +0200 |
3 |
@@ -4601,7 +4601,7 @@ |
4 |
LIB_S="libedit.so.$LIB_MAJOR" |
5 |
LIB_S_LINK="libedit.so" |
6 |
LIB_S_LINKS="$LIB_S $LIB_S_LINK" |
7 |
- S_LDFLAGS="-shared" |
8 |
+ S_LDFLAGS="-shared -Wl,-soname=${LIB_S_LINK}.${LIB_MAJOR}" |
9 |
elif test "x$ABI" = "xaout" ; then |
10 |
LIB_S="libedit.so.$LIB_MAJOR.$LIB_MINOR" |
11 |
LIB_S_LINKS= |
12 |
@@ -4623,17 +4623,9 @@ |
13 |
|
14 |
if test "x$enable_readline" = "xyes" ; then |
15 |
CCSRCS="$CCSRCS readline.c" |
16 |
- IHDRS="$IHDRS readline/readline.h" |
17 |
- IHDR_LINKS="readline.h readline/history.h" |
18 |
- HDR_DIRS="$HDR_DIRS include/readline" |
19 |
- LIB_A_LINKS="$LIB_A_LINKS libedit.a libreadline.a" |
20 |
- if test "x$ABI" = "xelf" ; then |
21 |
- LIB_S_LINKS="$LIB_S_LINKS $LIB_S_LINK libreadline.so" |
22 |
- elif test "x$ABI" = "xaout" ; then |
23 |
- LIB_S_LINKS="$LIB_S_LINKS $LIB_S libreadline.so.$LIB_MAJOR.$LIB_MINOR" |
24 |
- elif test "x$ABI" = "xmacho" ; then |
25 |
- LIB_S_LINKS="$LIB_S_LINKS $LIB_S_LINK libreadline.dylib" |
26 |
- fi |
27 |
+ IHDRS="$IHDRS editline/readline.h" |
28 |
+ IHDR_LINKS="readline.h editline/history.h" |
29 |
+ HDR_DIRS="$HDR_DIRS include/editline" |
30 |
fi |
31 |
|
32 |
case "${host}" in |