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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy