diff --git a/filesystem/squashfs-tools/squashfs-tools.conf b/filesystem/squashfs-tools/squashfs-tools.conf index 3ad071ca4..1f1e97bce 100644 --- a/filesystem/squashfs-tools/squashfs-tools.conf +++ b/filesystem/squashfs-tools/squashfs-tools.conf @@ -26,6 +26,13 @@ if pkginstalled -f xz; then var_append makeopt ' ' "XZ_SUPPORT=1" fi +# LZO support +if pkginstalled -f lzo; then + var_append makeopt ' ' "LZO_SUPPORT=1" + var_append makeopt ' ' "LZO_DIR=$( pkgprefix -r lzo )" + var_append makeopt ' ' "LZO_LIBDIR=-L$( pkgprefix -r libdir lzo )" +fi + var_append makeopt ' ' "INSTALL_DIR=$root/$prefix/sbin" makeinstopt="$makeopt install"