]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD/MINOR: fix Lua build on Mac OS X (again)
authorWilly Tarreau <w@1wt.eu>
Mon, 5 Mar 2018 14:37:04 +0000 (15:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 5 Mar 2018 14:39:39 +0000 (15:39 +0100)
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.

Makefile

index db3a7d186d95a843b6423f5a29389f067d8a7e9b..217dcd360b235307d4227a1d194518bfb551a578 100644 (file)
--- 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