]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: lua: it miss the '-ldl' directive
authorThierry FOURNIER <tfournier@haproxy.com>
Tue, 17 Mar 2015 10:14:26 +0000 (11:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 Mar 2015 10:44:13 +0000 (11:44 +0100)
The Lua library requires the 'dl' library.

Makefile

index a12e4c9fcd01c602cf19d573e6a51457432eaac6..e403239c043990c0eb78f62dfe97d2e9cb9a5061 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -575,7 +575,7 @@ $(error unable to automatically detect the Lua library name, you can enforce its
 endif
 endif
 
-OPTIONS_LDFLAGS += $(LUA_LD_FLAGS) -l$(LUA_LIB_NAME) -lm
+OPTIONS_LDFLAGS += $(LUA_LD_FLAGS) -l$(LUA_LIB_NAME) -lm -ldl
 OPTIONS_OBJS    += src/hlua.o
 endif