From ffe372f717b19cf8d97cb187d63a68da1989e064 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Wed, 21 Jun 2023 10:11:56 +0200 Subject: battstat: Use libtool to build libapm Apparently there is a build failure on some hosts because the build library didn't have the proper PIC settings, see #651. Using libtool fixes it as it is able to build true shared objects. --- battstat/apmlib/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'battstat/apmlib') diff --git a/battstat/apmlib/Makefile.am b/battstat/apmlib/Makefile.am index cdffe253..b5f5f33a 100644 --- a/battstat/apmlib/Makefile.am +++ b/battstat/apmlib/Makefile.am @@ -10,9 +10,9 @@ AM_CPPFLAGS = \ $(MATE_APPLETS_CFLAGS) \ -DG_LOG_DOMAIN=\"battstat_applet\" -noinst_LIBRARIES = libapm.a +noinst_LTLIBRARIES = libapm.la -libapm_a_SOURCES = apmlib.c apm.h +libapm_la_SOURCES = apmlib.c apm.h -include $(top_srcdir)/git.mk -- cgit v1.2.1