Add libdl when linking the binaries because libcrypto was added as new dependency to partclone but libcrypto itself is not linked static and needs dlopen/dlsym/dlclose calls.

This commit is contained in:
Sebastian Roth
2022-09-14 12:41:14 -05:00
parent 5948a988fc
commit ca3bb2541a

View File

@@ -11,6 +11,8 @@ PARTCLONE_INSTALL_STAGING = YES
PARTCLONE_AUTORECONF = YES
PARTCLONE_DEPENDENCIES += attr e2fsprogs libgcrypt lzo xz zlib xfsprogs ncurses host-pkgconf
PARTCLONE_CONF_OPTS = --enable-static --enable-xfs --enable-btrfs --enable-ntfs --enable-extfs --enable-fat --enable-hfsp --enable-apfs --enable-ncursesw
PARTCLONE_EXTRA_LIBS = -ldl
PARTCLONE_CONF_ENV += LIBS="$(PARTCLONE_EXTRA_LIBS)"
define PARTCLONE_LINK_LIBRARIES_TOOL
ln -f -s $(BUILD_DIR)/xfsprogs-*/include/xfs $(STAGING_DIR)/usr/include/