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

Commit7bd752c

Browse files
committed
Link libpq with libdl if the platform needs that.
Sinceb0635bf, libpq uses dlopen() and related functions. On someplatforms these are not supplied by libc, but by a separate librarylibdl, in which case we need to make sure that that dependency isknown to the linker. Meson seems to take care of that automatically,but the Makefile didn't cater for it.Author: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/1328170.1752082586@sss.pgh.pa.usBackpatch-through: 18
1 parent765a4c9 commit7bd752c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/interfaces/libpq/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ endif
8787
# that are built correctly for use in a shlib.
8888
SHLIB_LINK_INTERNAL = -lpgcommon_shlib -lpgport_shlib
8989
ifneq ($(PORTNAME), win32)
90-
SHLIB_LINK +=$(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi_krb5 -lgss -lgssapi -lssl -lsocket -lnsl -lresolv -lintl -lm,$(LIBS))$(LDAP_LIBS_FE)$(PTHREAD_LIBS)
90+
SHLIB_LINK +=$(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi_krb5 -lgss -lgssapi -lssl -lsocket -lnsl -lresolv -lintl -ldl -lm,$(LIBS))$(LDAP_LIBS_FE)$(PTHREAD_LIBS)
9191
else
9292
SHLIB_LINK +=$(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi32 -lssl -lsocket -lnsl -lresolv -lintl -lm$(PTHREAD_LIBS),$(LIBS))$(LDAP_LIBS_FE)
9393
endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp