From 432a81aeff2c5a01a5ccd78e553d20aeca1376b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Wed, 6 Feb 2019 18:38:12 +0100 Subject: [PATCH] Fix DLZ in oot builds DLZ has no VPATH support. Just make duplicates in build directory --- bind.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bind.spec b/bind.spec index c2bbf99..7a11ebb 100644 --- a/bind.spec +++ b/bind.spec @@ -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