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:
@@ -42,8 +42,6 @@ basic_sources = files('''
|
||||
def.h
|
||||
dirent-util.c
|
||||
dirent-util.h
|
||||
dlfcn-util.c
|
||||
dlfcn-util.h
|
||||
dns-def.h
|
||||
efivars.c
|
||||
efivars.h
|
||||
@@ -396,8 +394,7 @@ libbasic = static_library(
|
||||
libcap,
|
||||
libseccomp,
|
||||
libselinux,
|
||||
libm,
|
||||
libdl],
|
||||
libm],
|
||||
c_args : ['-fvisibility=default'],
|
||||
install : false)
|
||||
|
||||
|
||||
@@ -87,6 +87,8 @@ shared_sources = files('''
|
||||
discover-image.h
|
||||
dissect-image.c
|
||||
dissect-image.h
|
||||
dlfcn-util.c
|
||||
dlfcn-util.h
|
||||
dm-util.c
|
||||
dm-util.h
|
||||
dns-domain.c
|
||||
|
||||
Reference in New Issue
Block a user