|
2 | 2 | #
|
3 | 3 | # Makefile for the pltcl shared object
|
4 | 4 | #
|
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 $ |
6 | 6 | #
|
7 | 7 | #-------------------------------------------------------------------------
|
8 | 8 |
|
@@ -39,9 +39,15 @@ ifneq ($(TCL_SHLIB_LD_LIBS),)
|
39 | 39 | # link command for a shared lib must mention shared libs it uses
|
40 | 40 | SHLIB_EXTRA_LIBS=$(TCL_LIBS) -lc
|
41 | 41 | 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 |
42 | 47 | # link command for a shared lib must NOT mention shared libs it uses
|
43 | 48 | SHLIB_EXTRA_LIBS=
|
44 | 49 | endif
|
| 50 | +endif |
45 | 51 |
|
46 | 52 | %$(TCL_SHLIB_SUFFIX):%.o
|
47 | 53 | $(TCL_SHLIB_LD) -o$@$<$(TCL_LIB_SPEC)$(SHLIB_EXTRA_LIBS)
|
|