Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9cbcbf0

Browse files
committed
Use $(filter ...), not $(findstring ...).
1 parent 44954fa commit 9cbcbf0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/interfaces/libpgeasy/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Makefile for src/interfaces/libpgeasy
44
#
5-
# $Header: /cvsroot/pgsql/src/interfaces/libpgeasy/Attic/Makefile,v 1.4 2000/10/20 21:04:07 petere Exp $
5+
# $Header: /cvsroot/pgsql/src/interfaces/libpgeasy/Attic/Makefile,v 1.5 2000/10/31 14:37:25 petere Exp $
66
#
77
#-------------------------------------------------------------------------
88

@@ -25,7 +25,7 @@ SHLIB_LINK+= $(libpq)
2525
# If crypt is a separate library, rather than part of libc, it may need
2626
# to be referenced separately to keep (broken) linkers happy. (This is
2727
# braindead; users of libpq should not need to know what it depends on.)
28-
SHLIB_LINK+= $(findstring -lcrypt,$(LIBS))
28+
SHLIB_LINK+= $(filter -lcrypt, $(LIBS))
2929

3030
all: all-lib
3131

src/interfaces/libpgtcl/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.23 2000/10/20 21:04:10 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.24 2000/10/31 14:37:25 petere Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -25,7 +25,7 @@ SHLIB_LINK+= $(libpq)
2525
# If crypt is a separate library, rather than part of libc, it may need
2626
# to be referenced separately to keep (broken) linkers happy. (This is
2727
# braindead; users of libpq should not need to know what it depends on.)
28-
SHLIB_LINK+= $(findstring -lcrypt,$(LIBS))
28+
SHLIB_LINK+= $(filter -lcrypt, $(LIBS))
2929

3030
all: submake all-lib
3131

0 commit comments

Comments
 (0)