]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Use $(filter ...), not $(findstring ...).
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 31 Oct 2000 14:37:25 +0000 (14:37 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 31 Oct 2000 14:37:25 +0000 (14:37 +0000)
src/interfaces/libpgeasy/Makefile
src/interfaces/libpgtcl/Makefile

index ae0e7ff78e646202b3f5dce968f274428c468cd5..e8e107eb168c5969696b5c59fb8f9daf2082ff6d 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Makefile for src/interfaces/libpgeasy
 #
-# $Header: /cvsroot/pgsql/src/interfaces/libpgeasy/Attic/Makefile,v 1.4 2000/10/20 21:04:07 petere Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/libpgeasy/Attic/Makefile,v 1.5 2000/10/31 14:37:25 petere Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -25,7 +25,7 @@ SHLIB_LINK+= $(libpq)
 # If crypt is a separate library, rather than part of libc, it may need
 # to be referenced separately to keep (broken) linkers happy.  (This is
 # braindead; users of libpq should not need to know what it depends on.)
-SHLIB_LINK+= $(findstring -lcrypt,$(LIBS))
+SHLIB_LINK+= $(filter -lcrypt, $(LIBS))
 
 all: all-lib
 
index 95894cc65d3b06c794da0e142e26face7a621605..eebff49b72875c017b985bc18cd8df26666e434a 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 1994, Regents of the University of California
 #
-# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.23 2000/10/20 21:04:10 petere Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.24 2000/10/31 14:37:25 petere Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -25,7 +25,7 @@ SHLIB_LINK+= $(libpq)
 # If crypt is a separate library, rather than part of libc, it may need
 # to be referenced separately to keep (broken) linkers happy.  (This is
 # braindead; users of libpq should not need to know what it depends on.)
-SHLIB_LINK+= $(findstring -lcrypt,$(LIBS))
+SHLIB_LINK+= $(filter -lcrypt, $(LIBS))
 
 all: submake all-lib