summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--luaext/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/luaext/Makefile.am b/luaext/Makefile.am
index 0a409005b..3f63c62a8 100644
--- a/luaext/Makefile.am
+++ b/luaext/Makefile.am
@@ -9,7 +9,7 @@ AM_CPPFLAGS = -I$(top_builddir)
AM_CPPFLAGS += -I$(srcdir)/include -I.
libluaext_la_CPPFLAGS = $(AM_CPPFLAGS) -DWITH_POSIX
-libluaext_la_LIBADD = -llua -lm
+libluaext_la_LIBADD = @WITH_LUA_LIB@
libluaext_la_SOURCES = \
lposix.h \
lposix.c \