aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-05-20 05:00:48 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-05-20 05:00:48 +0300
commitd250c71b79881bf949dc0bbd9e4df42bd2dabf4a (patch)
tree735be492a7b76479b44dc6b7d1282e3fa3b2ae9a /Makefile
parent14af7754cfc5de913d5774a43ebf3f1653209814 (diff)
downloadapplause2-d250c71b79881bf949dc0bbd9e4df42bd2dabf4a.tar.gz
detect libreadline via pkg-config
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 62c82e9..37eeb11 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,8 @@ CFLAGS = -std=c99 -Wall -O2 -g
LUA_CFLAGS = $(shell pkg-config --cflags luajit)
LUA_LDFLAGS = $(shell pkg-config --libs luajit)
-READLINE_CFLAGS =
-READLINE_LDFLAGS = -lreadline -lhistory
+READLINE_CFLAGS = $(shell pkg-config --cflags readline)
+READLINE_LDFLAGS = $(shell pkg-config --libs readline) -lhistory
JACK_CFLAGS := $(shell pkg-config --cflags jack)
JACK_LDFLAGS := $(shell pkg-config --libs jack)