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
This commit is contained in:
parent
ba9331a864
commit
54a0f2adbb
@ -59,7 +59,7 @@ sed -i 's/fpic/fPIC/g' src/Makefile
|
|||||||
%build
|
%build
|
||||||
%set_build_flags
|
%set_build_flags
|
||||||
CFLAGS="$CFLAGS -fno-semantic-interposition"
|
CFLAGS="$CFLAGS -fno-semantic-interposition"
|
||||||
%make_build
|
%make_build LIBDIR="%{_libdir}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
|
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
|
||||||
|
Loading…
Reference in New Issue
Block a user