Skip to content

Commit

Permalink
move dlfcn-util into basic
Browse files Browse the repository at this point in the history
I'm going to dlopen_many_sym_or_warn() in src/basic/compress.c, this
will introduce a circular dependency because libshared already depends
from libbasic.
To avoid this, move dlfcn-util.c from libshared to libbasic.
  • Loading branch information
teknoraver committed Mar 5, 2024
1 parent 70aece8 commit 1c20c9f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/basic/meson.build
Expand Up @@ -21,6 +21,7 @@ basic_sources = files(
'confidential-virt.c',
'devnum-util.c',
'dirent-util.c',
'dlfcn-util.c',
'efivars.c',
'env-file.c',
'env-util.c',
Expand Down
1 change: 0 additions & 1 deletion src/shared/meson.build
Expand Up @@ -55,7 +55,6 @@ shared_sources = files(
'device-nodes.c',
'discover-image.c',
'dissect-image.c',
'dlfcn-util.c',
'dm-util.c',
'dns-domain.c',
'dropin.c',
Expand Down

0 comments on commit 1c20c9f

Please sign in to comment.