summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-09-07 18:10:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-09-07 18:10:49 +0000
commitea582ad7e789ab8e38fe5d8d8cbed7a0e3f25b58 (patch)
tree5c8eb61a0a08f9a8acea182c74d0ecef76859d9d
parenta2b57e3fe9bd659044bdaf2450fd739129be6557 (diff)
downloadpostgresql-ea582ad7e789ab8e38fe5d8d8cbed7a0e3f25b58.tar.gz
Irix linking fix from Yu Cao <yucao@falcon.kla-tencor.com>
-rw-r--r--src/interfaces/libpq++/Makefile.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/interfaces/libpq++/Makefile.in b/src/interfaces/libpq++/Makefile.in
index 58937c556e..cf4d35a81f 100644
--- a/src/interfaces/libpq++/Makefile.in
+++ b/src/interfaces/libpq++/Makefile.in
@@ -6,7 +6,7 @@
# Copyright (c) 1994, Regents of the University of California
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.16 1999/07/08 03:30:16 momjian Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.17 1999/09/07 18:10:49 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -48,6 +48,15 @@ else
SHLIB_LINK= -L../libpq -lpq
endif
+# For CC on IRIX, must use CC as linker/archiver of C++ libraries
+ifeq ($(PORTNAME), irix5)
+ ifeq ($(CXX), CC)
+ AR = CC
+ AROPT = -ar -o
+ LD = CC
+ endif
+endif
+
# Shared library stuff, also default 'all' target
include $(SRCDIR)/Makefile.shlib