Update patches.

This commit is contained in:
Marcela Mašláňová 2007-02-09 15:17:11 +00:00
parent bc15a1deee
commit 3fbbe25f42
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -u tcl8.3.5/unix/tcl.m4~ tcl8.3.5/unix/tcl.m4
--- tcl8.3.5/unix/tcl.m4~ 2003-01-14 20:42:53.000000000 +0900
+++ tcl8.3.5/unix/tcl.m4 2003-01-14 20:42:53.000000000 +0900
@@ -954,7 +954,7 @@
CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
if test "$have_dl" = yes; then
- SHLIB_LD="${CC} -shared"
+ SHLIB_LD='${CC} -shared -Wl,-soname,${@}'
DL_OBJS="tclLoadDl.o"
DL_LIBS="-ldl"
LDFLAGS="-rdynamic"

11
tcl-8.4-no_rpath.patch Normal file
View File

@ -0,0 +1,11 @@
--- tcl8.4.7/unix/tcl.m4~ 2004-07-30 16:13:56.891203387 +0900
+++ tcl8.4.7/unix/tcl.m4 2004-07-30 16:19:10.682145185 +0900
@@ -1141,7 +1141,7 @@
DL_OBJS="tclLoadDl.o"
DL_LIBS="-ldl"
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
- CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
+ CC_SEARCH_FLAGS=''
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
else
AC_CHECK_HEADER(dld.h, [