Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit830cdb5

Browse files
committed
Clean up Red Hat Tcl RPM brain-damage in a more reliable way: fix the
value of TCL_SHLIB_LD in the shell script that creates Makefile.tcldefs,rather than trying to persude gmake to do it.
1 parent8ac3b16 commit830cdb5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

‎src/pl/tcl/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Makefile for the pltcl shared object
44
#
5-
# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.36 2002/01/21 03:27:46 tgl Exp $
5+
# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.37 2002/01/23 18:45:41 tgl Exp $
66
#
77
#-------------------------------------------------------------------------
88

@@ -49,10 +49,6 @@ SHLIB_EXTRA_LIBS=
4949
endif
5050
endif
5151

52-
# Suppress bogus soname switch that RedHat RPMs put into tclConfig.sh
53-
overrideTCL_SHLIB_LD :=$(shell echo "$(TCL_SHLIB_LD)" | sed 's/-Wl,-soname[^ ]*//')
54-
55-
5652
%$(TCL_SHLIB_SUFFIX):%.o
5753
$(TCL_SHLIB_LD) -o$@$<$(TCL_LIB_SPEC)$(SHLIB_EXTRA_LIBS)
5854

‎src/pl/tcl/mkMakefile.tcldefs.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# $1 = path to tclConfig.sh ; $2 = output file
44

5+
# $Header: /cvsroot/pgsql/src/pl/tcl/Attic/mkMakefile.tcldefs.sh,v 1.2 2002/01/23 18:45:41 tgl Exp $
6+
57
iftest x"$1" = x;then
68
echo"$0: No tclConfig.sh file specified. Did you use\`configure --with-tcl'?"1>&2
79
exit 1
@@ -10,6 +12,9 @@ fi
1012
# Source the file to obtain the correctly expanded variable definitions
1113
."$1"
1214

15+
# Suppress bogus soname switch that RedHat RPMs put into tclConfig.sh
16+
TCL_SHLIB_LD=`echo"$TCL_SHLIB_LD"| sed's/-Wl,-soname[^ ]*//'`
17+
1318
# Read the file a second time as an easy way of getting the list of variable
1419
# definitions to output.
1520
cat"$1"|

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp