aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 999fac3..5102469 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,10 @@ CFLAGS += $(LUA_CFLAGS) $(READLINE_CFLAGS) $(JACK_CFLAGS)
LDFLAGS += $(LUA_LDFLAGS) $(READLINE_LDFLAGS) $(JACK_LDFLAGS) \
-lpthread
+# For exporting function from applause.c that can be called
+# with the LuaJIT FFI interface:
+LDFLAGS += -rdynamic
+
all : applause
applause : applause.o