Fix DLZ in oot builds

DLZ has no VPATH support. Just make duplicates in build directory
This commit is contained in:
Petr Menšík 2019-02-06 18:38:12 +01:00
parent 9a4b768e18
commit 432a81aeff

View File

@ -599,6 +599,13 @@ version
libtoolize -c -f; aclocal -I libtool.m4 --force; autoconf -f
mkdir build
%if %{with DLZ}
# DLZ modules do not support oot builds. Copy files into build
mkdir -p build/contrib/dlz
cp -frp contrib/dlz/modules build/contrib/dlz/modules
%endif
pushd build
LIBDIR_SUFFIX=
export LIBDIR_SUFFIX