[arch-commits] Commit in haproxy/trunk (PKGBUILD)
Johannes Löthberg
demize at archlinux.org
Thu Dec 12 18:16:52 UTC 2019
Date: Thursday, December 12, 2019 @ 18:16:52
Author: demize
Revision: 537413
Enable prometheus exporter
The HAProxy build system is terrible, and the official way to enable the
prometheus exporter is by adding the object path to EXTRA_OBJS, even though
their own build system says that EXTRA_OBJS is only used for development.
[1]: http://git.haproxy.org/?p=haproxy-2.1.git;a=blob;f=contrib/prometheus-exporter/README;h=b19acc1bdb10dd40efa816c926a389e6bef849e0;hb=e54b43af1ec9dc656c04b09118583cb3c2ce56fa
Modified:
haproxy/trunk/PKGBUILD
----------+
PKGBUILD | 1 +
1 file changed, 1 insertion(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-12 18:14:58 UTC (rev 537412)
+++ PKGBUILD 2019-12-12 18:16:52 UTC (rev 537413)
@@ -56,6 +56,7 @@
PREFIX="$pkgdir"/usr \
SBINDIR="$pkgdir"/usr/bin \
DOCDIR="$pkgdir"/usr/share/$pkgname \
+ EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o" \
install
for contrib in halog iprange ip6range; do
More information about the arch-commits
mailing list