From: Jacob Champion Date: Fri, 13 Mar 2026 17:34:03 +0000 (-0700) Subject: libpq-oauth: Fix Makefile dependencies X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b634c4e0e8f47186c664f7141e8ab0b73c50eb0c;p=thirdparty%2Fpostgresql.git libpq-oauth: Fix Makefile dependencies As part of 6225403f2, I'd removed the override for the `stlib` target, since NAME no longer contains a major version number. But I forgot that its dependencies are declared before Makefile.shlib is included; those dependencies were then omitted entirely. Per buildfarm member indri, which appears to be the only system so far that's bothered by an empty archive. --- diff --git a/src/interfaces/libpq-oauth/Makefile b/src/interfaces/libpq-oauth/Makefile index 231349034d1..11e1a3cf528 100644 --- a/src/interfaces/libpq-oauth/Makefile +++ b/src/interfaces/libpq-oauth/Makefile @@ -20,6 +20,7 @@ PGFILEDESC = "libpq-oauth - device authorization OAuth support" # name. NAME = pq-oauth override shlib := lib$(NAME)$(DLSUFFIX) +override stlib := libpq-oauth.a override CPPFLAGS := -I$(libpq_srcdir) -I$(top_builddir)/src/port $(CPPFLAGS) $(LIBCURL_CPPFLAGS) override CFLAGS += $(PTHREAD_CFLAGS)