From c5a234b5e3e5115fe637d9d2ea3f521ea7605d65 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 1 Dec 2022 20:11:38 -0500 Subject: [PATCH] meson: Use export_dynmic: true instead of -rdynamic It seems like specifying -rdynamic in meson cflags doesn't work on some systems, but meson has a built in way of doing the same thing: export_dynamic: true This commit switches over to the probably more right way of achieving a working dlopen(NULL). --- src/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index 704da46c..13ea0d98 100644 --- a/src/meson.build +++ b/src/meson.build @@ -26,13 +26,13 @@ plymouthd_cflags = [ '-DPLYMOUTH_DRM_ESCROW_DIRECTORY="@0@"'.format(get_option('libexecdir') / 'plymouth'), '-DPLYMOUTH_LOG_DIRECTORY="@0@"'.format('/var/log'), '-DPLYMOUTH_SPOOL_DIRECTORY="@0@"'.format(plymouthd_spool_dir), - '-rdynamic', ] plymouthd = executable('plymouthd', plymouthd_sources, dependencies: plymouthd_deps, c_args: plymouthd_cflags, + export_dynamic: true, include_directories: config_h_inc, install: true, install_dir: get_option('sbindir'),