diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-05-20 05:00:48 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-05-20 05:00:48 +0300 |
commit | d250c71b79881bf949dc0bbd9e4df42bd2dabf4a (patch) | |
tree | 735be492a7b76479b44dc6b7d1282e3fa3b2ae9a | |
parent | 14af7754cfc5de913d5774a43ebf3f1653209814 (diff) | |
download | applause2-d250c71b79881bf949dc0bbd9e4df42bd2dabf4a.tar.gz |
detect libreadline via pkg-config
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | applause.c | 1 |
2 files changed, 2 insertions, 3 deletions
@@ -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) @@ -1,4 +1,3 @@ -#define _XOPEN_SOURCE //#define _POSIX_C_SOURCE 200112 #define _GNU_SOURCE |