From: Magnus Hagander Date: Wed, 1 Oct 2008 15:35:34 +0000 (+0000) Subject: Link libpq with libgssapi if configure finds it, as X-Git-Tag: REL8_3_5~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3862493ad393cb569491aef06ebc7fa44954e4e4;p=postgresql Link libpq with libgssapi if configure finds it, as required by at least NetBSD. Markus Schaaf --- diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile index 67e868bed1..1a6d2de435 100644 --- a/src/interfaces/libpq/Makefile +++ b/src/interfaces/libpq/Makefile @@ -5,7 +5,7 @@ # Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group # Portions Copyright (c) 1994, Regents of the University of California # -# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.159.2.2 2008/04/16 14:21:22 adunstan Exp $ +# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.159.2.3 2008/10/01 15:35:34 mha Exp $ # #------------------------------------------------------------------------- @@ -57,7 +57,7 @@ endif # shared library link. (The order in which you list them here doesn't # matter.) ifneq ($(PORTNAME), win32) -SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi_krb5 -lgss -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(LDAP_LIBS_FE) $(PTHREAD_LIBS) +SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi_krb5 -lgss -lgssapi -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(LDAP_LIBS_FE) $(PTHREAD_LIBS) else SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi32 -lssl -lsocket -lnsl -lresolv -lintl $(PTHREAD_LIBS), $(LIBS)) $(LDAP_LIBS_FE) endif