Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0bdc18d

Browse files
committed
Add LDAP_LIBS_FE to $(libpq) for static or AIX linking, per Albe Laurenz.
1 parentbb87c7b commit0bdc18d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎src/Makefile.global.in

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*-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 $
33

44
#------------------------------------------------------------------------------
55
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -343,12 +343,14 @@ libpq := -L$(libpq_builddir) -lpq
343343
# If doing static linking, shared library dependency info isn't available,
344344
# so add in the libraries that libpq depends on.
345345
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)
347348
else
348349
# On AIX even shared libraries do not remember their required libs,
349350
# so again add in what libpq depends on.
350351
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)
352354
endif
353355
endif
354356

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp