From: Willy Tarreau Date: Mon, 5 Mar 2018 14:37:04 +0000 (+0100) Subject: BUILD/MINOR: fix Lua build on Mac OS X (again) X-Git-Tag: v1.9-dev1~387 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b684e7a52cd3733bce2404bcac1b26ea92c7f38d;p=thirdparty%2Fhaproxy.git BUILD/MINOR: fix Lua build on Mac OS X (again) Previous commit (13113d6 "MINOR/BUILD: fix Lua build on Mac OS X") contains a typo, it uses "-export-dynamic" instead of "-export_dynamic" (dash instead of underscore), despite what the commit message suggests, and it obviously doesn't work. Thanks to Kirill A. Korinsky for reporting it. This patch should be backported on each version from 1.6 like the aforementionned one above. --- diff --git a/Makefile b/Makefile index db3a7d186d..217dcd360b 100644 --- a/Makefile +++ b/Makefile @@ -331,7 +331,7 @@ ifeq ($(TARGET),osx) USE_POLL = implicit USE_KQUEUE = implicit USE_TPROXY = implicit - EXPORT_SYMBOL = -export-dynamic + EXPORT_SYMBOL = -export_dynamic else ifeq ($(TARGET),openbsd) # This is for OpenBSD >= 5.7