From: Thierry FOURNIER Date: Tue, 17 Mar 2015 10:14:26 +0000 (+0100) Subject: BUILD: lua: it miss the '-ldl' directive X-Git-Tag: v1.6-dev2~312 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=ecc954703f937aaaaed614daff0b197ef808ee49;p=haproxy.git BUILD: lua: it miss the '-ldl' directive The Lua library requires the 'dl' library. --- diff --git a/Makefile b/Makefile index a12e4c9fc..e403239c0 100644 --- 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