1
0
forked from pool/erofs-utils

- Use lz4hc.h from bundled copy, not the system.

OBS-URL: https://build.opensuse.org/package/show/filesystems/erofs-utils?expand=0&rev=2
This commit is contained in:
Jan Engelhardt 2018-12-10 17:28:55 +00:00 committed by Git OBS Bridge
parent db479c5e0d
commit 8131b73341
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 10 10:11:43 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Use lz4hc.h from bundled copy, not the system.
-------------------------------------------------------------------
Mon Nov 19 20:57:48 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@ -30,7 +30,6 @@ Patch2: no-static.diff
Patch3: no-date.diff
BuildRequires: autoconf >= 2.69
BuildRequires: automake
BuildRequires: liblz4-devel
BuildRequires: libtool
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -58,6 +57,7 @@ pushd lz4-1.8.3/
make %{?_smp_mflags} CFLAGS="%{optflags}" V=1
popd
autoreconf -fiv
export CPPFLAGS="-I$PWD/lz4-1.8.3/lib"
%configure --disable-static --with-lz4="$PWD/lz4-1.8.3/lib" --bindir="%_sbindir"
make %{?_smp_mflags}