Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita2c6bf5

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 parent8a70a1c commita2c6bf5

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)

[8]ページ先頭

©2009-2025 Movatter.jp