diff options
author | Colomban Wendling <[email protected]> | 2023-06-21 10:11:56 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-06-21 14:21:19 +0200 |
commit | ffe372f717b19cf8d97cb187d63a68da1989e064 (patch) | |
tree | 9675272f87c2c49ad45d177f3decf77238aefd9a /battstat | |
parent | 954d2258337cda058a5730cd981e878208818b09 (diff) | |
download | mate-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')
-rw-r--r-- | battstat/Makefile.am | 2 | ||||
-rw-r--r-- | battstat/apmlib/Makefile.am | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/battstat/Makefile.am b/battstat/Makefile.am index 7606ab4d..ed8d852c 100644 --- a/battstat/Makefile.am +++ b/battstat/Makefile.am @@ -8,7 +8,7 @@ APMLIB = -lapm APMDIR = APMINC = else -APMLIB = apmlib/libapm.a +APMLIB = apmlib/libapm.la APMDIR = apmlib APMINC = -I$(srcdir)/apmlib/ endif 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 |