summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2002-01-21 03:27:46 +0000
committerTom Lane2002-01-21 03:27:46 +0000
commit2f383b2de66e95d5d86527d3d2786842a5428f56 (patch)
tree264875a356a27a04fdd91326181848d7a76b84d0
parentbf43bed8484327a327bbe863c9fb4a6375a4a0a5 (diff)
Suppress bogus soname switch that RedHat RPMs put into tclConfig.sh.
-rw-r--r--src/pl/tcl/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pl/tcl/Makefile b/src/pl/tcl/Makefile
index 520b2c7aa04..379ab79ad8c 100644
--- a/src/pl/tcl/Makefile
+++ b/src/pl/tcl/Makefile
@@ -2,7 +2,7 @@
#
# Makefile for the pltcl shared object
#
-# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.35 2001/10/13 04:23:50 momjian Exp $
+# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.36 2002/01/21 03:27:46 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -49,6 +49,10 @@ SHLIB_EXTRA_LIBS=
endif
endif
+# Suppress bogus soname switch that RedHat RPMs put into tclConfig.sh
+override TCL_SHLIB_LD := $(shell echo "$(TCL_SHLIB_LD)" | sed 's/-Wl,-soname[^ ]*//')
+
+
%$(TCL_SHLIB_SUFFIX): %.o
$(TCL_SHLIB_LD) -o $@ $< $(TCL_LIB_SPEC) $(SHLIB_EXTRA_LIBS)