From 54a0f2adbbd3900d626598b832cd81acfed52b98 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Thu, 11 Nov 2021 13:24:59 +0100 Subject: [PATCH] Add LIBDIR to %make_build lisepol.pc is created during make phase which needs to know where our LIBDIR is Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2018492 --- libsepol.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsepol.spec b/libsepol.spec index c417d7b..6df35db 100644 --- a/libsepol.spec +++ b/libsepol.spec @@ -59,7 +59,7 @@ sed -i 's/fpic/fPIC/g' src/Makefile %build %set_build_flags CFLAGS="$CFLAGS -fno-semantic-interposition" -%make_build +%make_build LIBDIR="%{_libdir}" %install mkdir -p ${RPM_BUILD_ROOT}%{_libdir}