libmount: make dlopen() dependency
This commit is contained in:
committed by
Yu Watanabe
parent
b97b8fd4e3
commit
b3243f4bee
@@ -753,12 +753,12 @@ static char* disk_mount_point(const char *label) {
|
||||
for (;;) {
|
||||
struct libmnt_fs *fs;
|
||||
|
||||
r = mnt_table_next_fs(table, iter, &fs);
|
||||
r = sym_mnt_table_next_fs(table, iter, &fs);
|
||||
if (r != 0)
|
||||
return NULL;
|
||||
|
||||
if (path_equal(mnt_fs_get_source(fs), device)) {
|
||||
const char *target = mnt_fs_get_target(fs);
|
||||
if (path_equal(sym_mnt_fs_get_source(fs), device)) {
|
||||
const char *target = sym_mnt_fs_get_target(fs);
|
||||
if (target)
|
||||
return strdup(target);
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ executables += [
|
||||
'sources' : systemd_cryptsetup_sources,
|
||||
'dependencies' : [
|
||||
libcryptsetup,
|
||||
libmount,
|
||||
libmount_cflags,
|
||||
libopenssl,
|
||||
libp11kit_cflags,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user