From 6f5cc76ec1cdaa6e82a87b3f24c8b07ed2d1cd3b Mon Sep 17 00:00:00 2001
From: Utz-Uwe Haus <uhaus@cray.com>
Date: Thu, 27 Jan 2022 11:19:57 +0100
Subject: [PATCH] Ensure -lm is on the libmaestro.la dependency list if needed

---
 Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 8c39d494..6b208215 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -60,7 +60,8 @@ libmaestro_la_LIBADD = 			 \
 	protocols/libmaestro_proto.la \
 	transport/libmaestro_transport.la \
 	transformation/libmaestro_transformation.la \
-	attributes/libattributes.la
+	attributes/libattributes.la \
+	$(LIBS)
 
 # README
 dist_doc_DATA = README.md
-- 
GitLab