1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 16:21:26 +03:00

basic,shared: move dlopen helpers to shared/

This was added in 88d775b734,
with the apparent intent of using in shared/ and the rest of our code.
It doesn't matter much for our code, since libdl is part of glibc anyway,
but moving it removes one linkage from libsystemd. (libshared was already
linking to libdl explicitly).
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-06-21 23:28:46 +02:00
parent 6a818c3cb4
commit 2d32453bc8
4 changed files with 3 additions and 4 deletions

View File

@ -42,8 +42,6 @@ basic_sources = files('''
def.h def.h
dirent-util.c dirent-util.c
dirent-util.h dirent-util.h
dlfcn-util.c
dlfcn-util.h
dns-def.h dns-def.h
efivars.c efivars.c
efivars.h efivars.h
@ -396,8 +394,7 @@ libbasic = static_library(
libcap, libcap,
libseccomp, libseccomp,
libselinux, libselinux,
libm, libm],
libdl],
c_args : ['-fvisibility=default'], c_args : ['-fvisibility=default'],
install : false) install : false)

View File

@ -87,6 +87,8 @@ shared_sources = files('''
discover-image.h discover-image.h
dissect-image.c dissect-image.c
dissect-image.h dissect-image.h
dlfcn-util.c
dlfcn-util.h
dm-util.c dm-util.c
dm-util.h dm-util.h
dns-domain.c dns-domain.c