> On 5 Mar 2018, at 18:24, Willy Tarreau <w...@1wt.eu> wrote: > > On Mon, Mar 05, 2018 at 02:10:34PM +0000, Kirill A. Korinsky wrote: >> Hi Will, >> >> I used a last master 13113d6abb and command to build: >> >>> make USE_LUA=1 LUA_LIB=/usr/local/opt/lua/lib LUA_LIB_NAME=lua.5.3 >>> TARGET=generic > > The flag was set for the "osx" target only, not for "generic". > By the way you shouldn't use "generic", it will ruin your performance. > For example your OS supports kqueue() while generic supports only poll().
I missed part of OSX target, my mistake. Meanwhile, it doesn't build with OSX target > ld: unknown option: -export-dynamic because at OSX this option calls -export_dynamic After change option name it works well. -- wbr, Kirill