aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-05-21 13:33:14 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-05-21 13:45:01 +0200
commit5bc09e3885df0eb61678c68cf045d7efa59105e5 (patch)
tree6131568f659399e3e54384e1b0aa5147ad3577b3 /bin
parent9c3741468b9e5e54c1ff94591b8e16860bc0ca44 (diff)
downloadmkinitcpio-ykfde-main.tar.gz
mkinitcpio-ykfde-main.tar.zst
use pkg-config for ykpers-1HEADmain
We still have `-lyubikey`, though...
Diffstat (limited to 'bin')
-rw-r--r--bin/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 4906904..e1c8ed2 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -6,7 +6,7 @@ RM := rm
CFLAGS += -std=gnu11 -O2 -fPIC -Wall -Werror
CFLAGS_EXTRA += $(shell pkg-config --cflags --libs iniparser)
CFLAGS_EXTRA += $(shell pkg-config --cflags --libs libkeyutils)
-CFLAGS_EXTRA += -lykpers-1 -lyubikey
+CFLAGS_EXTRA += $(shell pkg-config --cflags --libs ykpers-1) -lyubikey
CFLAGS_SYSTEMD := $(shell pkg-config --cflags --libs libsystemd 2>/dev/null)
ifneq ($(CFLAGS_SYSTEMD),)
CFLAGS_EXTRA += -DHAVE_SYSTEMD $(CFLAGS_SYSTEMD)