summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2022-12-01 20:11:38 -0500
committerRay Strode <rstrode@redhat.com>2022-12-01 20:14:17 -0500
commitc5a234b5e3e5115fe637d9d2ea3f521ea7605d65 (patch)
tree52f359f6e3721c211ba1daf3243124086d62c31a
parentc81af06abd8c3286a1d6a6877e470f42f813e4de (diff)
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).
-rw-r--r--src/meson.build2
1 files changed, 1 insertions, 1 deletions
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'),