From: Peter van Dijk Date: Sun, 20 May 2018 09:13:59 +0000 (+0200) Subject: -rdynamic is for the linker X-Git-Tag: dnsdist-1.3.1~86^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1f504545f6165b794e8fe5ddd29812610c63db9;p=pdns -rdynamic is for the linker --- diff --git a/pdns/recursordist/configure.ac b/pdns/recursordist/configure.ac index a5cc52333..7312cb361 100644 --- a/pdns/recursordist/configure.ac +++ b/pdns/recursordist/configure.ac @@ -103,8 +103,7 @@ PDNS_WITH_LUA([mandatory]) AS_IF([test "x$LUAPC" = "xluajit"], [ # export all symbols to be able to use the Lua FFI interface AC_MSG_NOTICE([Adding -rdynamic to export all symbols for the Lua FFI interface]) - CFLAGS="$CFLAGS -rdynamic" - CXXFLAGS="$CXXFLAGS -rdynamic" + LDFLAGS="$LDFLAGS -rdynamic" ]) PDNS_CHECK_LUA_HPP