Commit 2f383b2d authored by Tom Lane's avatar Tom Lane

Suppress bogus soname switch that RedHat RPMs put into tclConfig.sh.

parent bf43bed8
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# Makefile for the pltcl shared object # 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= ...@@ -49,6 +49,10 @@ SHLIB_EXTRA_LIBS=
endif endif
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_SUFFIX): %.o
$(TCL_SHLIB_LD) -o $@ $< $(TCL_LIB_SPEC) $(SHLIB_EXTRA_LIBS) $(TCL_SHLIB_LD) -o $@ $< $(TCL_LIB_SPEC) $(SHLIB_EXTRA_LIBS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment