OSDN Git Service

Use $(LIBS:-lpgport=) rather than $(patsubst -lpgport,, $(LIBS)), for consistency.
authorBruce Momjian <bruce@momjian.us>
Sun, 7 May 2006 01:05:11 +0000 (01:05 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 7 May 2006 01:05:11 +0000 (01:05 +0000)
src/interfaces/libpq/Makefile

index 2a1f76e..1fa17b4 100644 (file)
@@ -5,7 +5,7 @@
 # Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
 # Portions Copyright (c) 1994, Regents of the University of California
 #
-# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.144 2006/04/28 02:53:20 tgl Exp $
+# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.145 2006/05/07 01:05:11 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -29,7 +29,7 @@ endif
 # object files to use the same compile flags as libpq.  If we used
 # the object files from libpgport, this would not be true on all
 # platforms.
-LIBS := $(patsubst -lpgport,, $(LIBS))
+LIBS := $(LIBS:-lpgport=)
 
 OBJS=  fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
        fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o \