]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
libpq-oauth: Fix Makefile dependencies
authorJacob Champion <jchampion@postgresql.org>
Fri, 13 Mar 2026 17:34:03 +0000 (10:34 -0700)
committerJacob Champion <jchampion@postgresql.org>
Fri, 13 Mar 2026 17:34:03 +0000 (10:34 -0700)
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.

src/interfaces/libpq-oauth/Makefile

index 231349034d187ccb600ef7063cbe171e39ce5235..11e1a3cf5280df20a9250542faace3dc953f0be8 100644 (file)
@@ -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)