From ebb442a46a490da4d81e272c3c5e8565b63e36a7 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 28 Jan 2024 23:12:26 +0100 Subject: [PATCH] build: Move MD_LIBS from LDFLAGS to LDADD for libdpkg The correct place to add the library link flags is LDADD, not LDFLAGS. --- lib/dpkg/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/dpkg/Makefile.am b/lib/dpkg/Makefile.am index 1f02cc362..3fb27aa74 100644 --- a/lib/dpkg/Makefile.am +++ b/lib/dpkg/Makefile.am @@ -47,9 +47,8 @@ EXTRA_libdpkg_la_DEPENDENCIES += \ # EOL endif -libdpkg_la_LDFLAGS += $(MD_LIBS) - libdpkg_la_LIBADD = \ + $(MD_LIBS) \ ../compat/libcompat.la \ # EOL -- 2.11.4.GIT