diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2024-03-19 13:25:02 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2024-03-20 10:28:00 +0400 |
commit | d4069a84a3380247c1b524096c6a807743bf687a (patch) | |
tree | 057d506351802ce28fd769918fa88f530fae1fe8 /ui/console.c | |
parent | e99441a3793b53c21a4087cdc8c4f1a4d77e35e4 (diff) |
ui: compile dbus-display1.c with -fPIC as necessary
Building dbus-display1.c explicitly as a static library drops -fPIC by
default, which may not be correct if it ends up linked to a shared
library.
Let the target decide how to build the unit, with or without -fPIC. This
makes commit 186acfbaf7 ("tests/qtest: Depend on dbus_display1_dep") no
longer relevant, as dbus-display1.c will be recompiled.
Fixes: c172136ea33 ("meson: ensure dbus-display generated code is built
before other units")
Reported-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'ui/console.c')
0 files changed, 0 insertions, 0 deletions