Suppress bogus soname switch that RedHat RPMs put into tclConfig.sh.
authorTom Lane <[email protected]>
Mon, 21 Jan 2002 03:27:46 +0000 (03:27 +0000)
committerTom Lane <[email protected]>
Mon, 21 Jan 2002 03:27:46 +0000 (03:27 +0000)
src/pl/tcl/Makefile

index 191134f26d663f6892d1aa23b97695c589716b36..67e8df85353c75858a3d34452425979ea07198e2 100644 (file)
@@ -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)