]> granicus.if.org Git - postgresql/commitdiff
Irix linking fix from Yu Cao <yucao@falcon.kla-tencor.com>
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Sep 1999 18:10:49 +0000 (18:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Sep 1999 18:10:49 +0000 (18:10 +0000)
src/interfaces/libpq++/Makefile.in

index 58937c556ece07d7fe18871dcd371022b1c0b952..cf4d35a81fd952af4e7974ef2acbb50f63b56074 100644 (file)
@@ -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