File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 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=
4949endif
5050endif
5151
52- # Suppress bogus soname switch that RedHat RPMs put into tclConfig.sh
53- override TCL_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
Original file line number Diff line number Diff line change 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+
57if test x" $1 " = x ; then
68 echo " $0 : No tclConfig.sh file specified. Did you use \` configure --with-tcl'?" 1>&2
79 exit 1
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.
1520cat " $1 " |
You can’t perform that action at this time.
0 commit comments