Message ID | 20200806144946.42125-1-stephen.smalley.work@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | libselinux: fix build order | expand |
On Thu, Aug 6, 2020 at 10:50 AM Stephen Smalley <stephen.smalley.work@gmail.com> wrote: > > We need to install the include files before we try to build the source. > Otherwise, make DESTDIR=~/obj install can fail if there are older > headers under /usr/include. > > Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com> Applied.
diff --git a/libselinux/Makefile b/libselinux/Makefile index 16531fe9..6a43b243 100644 --- a/libselinux/Makefile +++ b/libselinux/Makefile @@ -1,4 +1,4 @@ -SUBDIRS = src include utils man +SUBDIRS = include src utils man PKG_CONFIG ?= pkg-config DISABLE_SETRANS ?= n
We need to install the include files before we try to build the source. Otherwise, make DESTDIR=~/obj install can fail if there are older headers under /usr/include. Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com> --- libselinux/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)