summaryrefslogtreecommitdiff
path: root/battstat/apmlib
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2023-06-21 10:11:56 +0200
committerraveit65 <[email protected]>2023-06-21 14:21:19 +0200
commitffe372f717b19cf8d97cb187d63a68da1989e064 (patch)
tree9675272f87c2c49ad45d177f3decf77238aefd9a /battstat/apmlib
parent954d2258337cda058a5730cd981e878208818b09 (diff)
downloadmate-applets-ffe372f717b19cf8d97cb187d63a68da1989e064.tar.bz2
mate-applets-ffe372f717b19cf8d97cb187d63a68da1989e064.tar.xz
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.
Diffstat (limited to 'battstat/apmlib')
-rw-r--r--battstat/apmlib/Makefile.am4
1 files changed, 2 insertions, 2 deletions
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