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

Commitbf37808

Browse files
committed
oauth: Explicitly depend on -pthread
Followup to4e1e417 and52ecd05. oauth-utils.c usespthread_sigmask(), requiring -pthread on Debian bullseye at minimum.Reported-by: Christoph Berg <myon@debian.org>Tested-by: Christoph Berg <myon@debian.org>Discussion:https://postgr.es/m/aK4PZgC0wuwQ5xSK%40msg.df7cb.deBackpatch-through: 18
1 parent952b5a4 commitbf37808

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

‎meson.build‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3300,6 +3300,7 @@ libpq_deps += [
33003300
]
33013301

33023302
libpq_oauth_deps+= [
3303+
thread_dep,
33033304
libcurl,
33043305
]
33053306

‎src/interfaces/libpq-oauth/Makefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ override shlib := lib$(NAME)$(DLSUFFIX)
2525
overridestlib := libpq-oauth.a
2626

2727
overrideCPPFLAGS := -I$(libpq_srcdir) -I$(top_builddir)/src/port$(CPPFLAGS)$(LIBCURL_CPPFLAGS)
28+
overrideCFLAGS +=$(PTHREAD_CFLAGS)
2829

2930
OBJS =\
3031
$(WIN32RES)
@@ -47,7 +48,7 @@ $(stlib): override OBJS += $(OBJS_STATIC)
4748
$(stlib):$(OBJS_STATIC)
4849

4950
SHLIB_LINK_INTERNAL =$(libpq_pgport_shlib)
50-
SHLIB_LINK =$(LIBCURL_LDFLAGS)$(LIBCURL_LDLIBS)$(filter -lintl -lm,$(LIBS))
51+
SHLIB_LINK =$(LIBCURL_LDFLAGS)$(LIBCURL_LDLIBS)$(filter -lintl -lm$(PTHREAD_LIBS),$(LIBS))
5152
SHLIB_PREREQS = submake-libpq
5253
SHLIB_EXPORTS = exports.txt
5354

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp