diary

Text-based journaling program
git clone https://git.in0rdr.ch/diary.git
Log | Files | Refs | Pull requests | README | LICENSE

commit 1cc699605ca316e44cd7ccd34f28c6df3505a452
parent 2694591c569378b433a91e569f244504d8f3c023
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sat, 14 Sep 2024 16:18:22 +0200

feat(build): use pkg-config

Diffstat:
MMakefile | 4++--
Mnix/shell.nix | 1+
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -9,10 +9,10 @@ MANDIR := $(DESTDIR)$(PREFIX)/share/man MAN1 = man1/diary.1 CC = gcc -CFLAGS = -Wall $(shell xml2-config --cflags) +CFLAGS = -Wall $(shell pkg-config libxml-2.0 --cflags) UNAME = $(shell uname) -XML_LIBS = $(shell xml2-config --libs --dynamic) +XML_LIBS = $(shell pkg-config libxml-2.0 --libs) ifeq ($(UNAME),FreeBSD) LIBS = -lncurses -lcurl $(ML_LIBS) -ldl -llttng-ust -pthread diff --git a/nix/shell.nix b/nix/shell.nix @@ -10,6 +10,7 @@ scdoc groff mandoc + pkg-config #babeltrace2 ]; }