summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/squashfs.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/squashfs.spec b/packaging/squashfs.spec
index 5daa090..e44f290 100644
--- a/packaging/squashfs.spec
+++ b/packaging/squashfs.spec
@@ -12,6 +12,7 @@ BuildRequires: lzma-devel
BuildRequires: lzo-devel
BuildRequires: lz4-devel
BuildRequires: zlib-devel
+BuildRequires: libzstd-devel
Supplements: filesystem(squashfs)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -25,7 +26,7 @@ cp %{SOURCE1001} .
%build
sed -i -e "s#-O2#%{optflags}#g" squashfs-tools/Makefile
-make %{?_smp_mflags} -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1
+make %{?_smp_mflags} -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1 ZSTD_SUPPORT=1
%install
mkdir -p %{buildroot}/usr/bin