diff mbox series

libselinux: fix build order

Message ID 20200806144946.42125-1-stephen.smalley.work@gmail.com (mailing list archive)
State Accepted
Headers show
Series libselinux: fix build order | expand

Commit Message

Stephen Smalley Aug. 6, 2020, 2:49 p.m. UTC
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(-)

Comments

Stephen Smalley Aug. 17, 2020, 3:59 p.m. UTC | #1
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 mbox series

Patch

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