You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/mail-filter/libsrs_alt/files/libsrs_alt-1.0-link-fix.patch

33 lines
748 B

From 5fe95ee063c1f29037cdaacd2d96aea4759b57c1 Mon Sep 17 00:00:00 2001
From: orbea <orbea@riseup.net>
Date: Sat, 27 Mar 2021 08:28:11 -0700
Subject: [PATCH] build: Correctly use .la files and LDADD.
---
Makefile.am | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 46de31a..5bdf9d3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,13 +1,11 @@
SUBDIRS = lib src .
EXTRA_DIST = MTAs
-LDADD = lib/libcompat.a
-
bin_PROGRAMS = srs
noinst_PROGRAMS = test
test_SOURCES = test.c
-test_LDFLAGS = src/.libs/libsrs_alt.a
+test_LDADD = lib/libcompat.la src/libsrs_alt.la
srs_SOURCES = srs.c
-srs_LDFLAGS = src/.libs/libsrs_alt.a
+srs_LDADD = lib/libcompat.la src/libsrs_alt.la
--
2.26.3