|
1 | 1 | # -*-makefile-*- |
2 | | -# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.228 2006/09/10 22:07:02 tgl Exp $ |
| 2 | +# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.229 2006/09/11 13:35:08 tgl Exp $ |
3 | 3 |
|
4 | 4 | #------------------------------------------------------------------------------ |
5 | 5 | # All PostgreSQL makefiles include this file and use the variables it sets, |
@@ -343,12 +343,14 @@ libpq := -L$(libpq_builddir) -lpq |
343 | 343 | # If doing static linking, shared library dependency info isn't available, |
344 | 344 | # so add in the libraries that libpq depends on. |
345 | 345 | ifeq ($(enable_shared), no) |
346 | | -libpq +=$(filter -lintl -lssl -lcrypto -lkrb5 -lcrypt,$(LIBS))$(PTHREAD_LIBS) |
| 346 | +libpq +=$(filter -lintl -lssl -lcrypto -lkrb5 -lcrypt,$(LIBS))\ |
| 347 | +$(LDAP_LIBS_FE)$(PTHREAD_LIBS) |
347 | 348 | else |
348 | 349 | # On AIX even shared libraries do not remember their required libs, |
349 | 350 | # so again add in what libpq depends on. |
350 | 351 | ifeq ($(PORTNAME), aix) |
351 | | -libpq +=$(filter -lintl -lssl -lcrypto -lkrb5 -lcrypt,$(LIBS))$(PTHREAD_LIBS) |
| 352 | +libpq +=$(filter -lintl -lssl -lcrypto -lkrb5 -lcrypt,$(LIBS))\ |
| 353 | +$(LDAP_LIBS_FE)$(PTHREAD_LIBS) |
352 | 354 | endif |
353 | 355 | endif |
354 | 356 |
|
|