Content-Length: 283258 | pFad | http://github.com/postgrespro/postgres/commit/a2c6bf5a59ee4f8f2989368217f49c10165027c0

38 pltcl seems to be broken on HPUX with recent Tcl versions, because · postgrespro/postgres@a2c6bf5 · GitHub
Skip to content

Commit a2c6bf5

Browse files
committed
pltcl seems to be broken on HPUX with recent Tcl versions, because
link needs to specify -lc but doesn't. Quick hack to make it better.
1 parent 8a70a1c commit a2c6bf5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/pl/tcl/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Makefile for the pltcl shared object
44
#
5-
# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.20 2000/07/01 15:02:31 petere Exp $
5+
# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.21 2000/07/17 01:26:42 tgl Exp $
66
#
77
#-------------------------------------------------------------------------
88

@@ -39,9 +39,15 @@ ifneq ($(TCL_SHLIB_LD_LIBS),)
3939
# link command for a shared lib must mention shared libs it uses
4040
SHLIB_EXTRA_LIBS=$(TCL_LIBS) -lc
4141
else
42+
ifeq ($(PORTNAME), hpux)
43+
# link command for a shared lib must mention shared libs it uses,
44+
# even though Tcl doesn't think so...
45+
SHLIB_EXTRA_LIBS=$(TCL_LIBS) -lc
46+
else
4247
# link command for a shared lib must NOT mention shared libs it uses
4348
SHLIB_EXTRA_LIBS=
4449
endif
50+
endif
4551

4652
%$(TCL_SHLIB_SUFFIX): %.o
4753
$(TCL_SHLIB_LD) -o $@ $< $(TCL_LIB_SPEC) $(SHLIB_EXTRA_LIBS)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/a2c6bf5a59ee4f8f2989368217f49c10165027c0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy