aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--applause.c1
2 files changed, 2 insertions, 3 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)
diff --git a/applause.c b/applause.c
index e9ffd66..1ce4513 100644
--- a/applause.c
+++ b/applause.c
@@ -1,4 +1,3 @@
-#define _XOPEN_SOURCE
//#define _POSIX_C_SOURCE 200112
#define _GNU_SOURCE