Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf43bed commit 2f383b2Copy full SHA for 2f383b2
src/pl/tcl/Makefile
@@ -2,7 +2,7 @@
2
#
3
# Makefile for the pltcl shared object
4
5
-# $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 $
6
7
#-------------------------------------------------------------------------
8
@@ -49,6 +49,10 @@ SHLIB_EXTRA_LIBS=
49
endif
50
51
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
56
%$(TCL_SHLIB_SUFFIX): %.o
57
$(TCL_SHLIB_LD) -o $@ $< $(TCL_LIB_SPEC) $(SHLIB_EXTRA_LIBS)
58
0 commit comments