]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Export only FFI symbols, regardless of visibility 15297/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 13 Mar 2025 09:30:57 +0000 (10:30 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 13 Mar 2025 09:30:57 +0000 (10:30 +0100)
pdns/dnsdistdist/meson/lua/meson.build

index f1cd312155b664adc0499196c58e92d30dbe725c..3f5a299dc1747d3702d118e79f81622b85964b77 100644 (file)
@@ -42,8 +42,8 @@ conf.set('HAVE_LUA', dep_lua.found(), description: 'Lua')
 conf.set('HAVE_LUA_HPP', have_luahpp, description: 'Have <lua.hpp>')
 
 if dep_lua.found() and dep_lua.name() == 'luajit'
# export all symbols with default visibility, to be able to use the Lua FFI interface
add_project_link_arguments('-rdynamic', language: ['c', 'cpp'])
 # export FFI interfaces symbols, to be able to use the Lua FFI interface
 add_project_link_arguments('-Wl,--export-dynamic-symbol=dnsdist_ffi_*', language: ['c', 'cpp'])
 endif
 
 summary('Lua', dep_lua.found(), bool_yn: true, section: 'Lua')