diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-04-18 01:33:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-19 10:18:43 +0100 |
commit | f81c0de90564a7172bcd206b93abd55bba96b0dc (patch) | |
tree | 70e928e1ef3c75d53d19f8dc3b6c325118dd55e4 /meta/recipes-support/ca-certificates | |
parent | 567329b56689f3cb9f2649cb52734f093eb85eac (diff) | |
download | poky-f81c0de90564a7172bcd206b93abd55bba96b0dc.tar.gz |
acl: fix race issue when do_compile
Fixed race issue:
In file included from acl_copy_entry.c:22:0:
libacl.h:19:21: fatal error: sys/acl.h: No such file or directory
#include <sys/acl.h>
[snip]
compilation terminated.
acl_get_file.c:27:24: fatal error: acl/libacl.h: No such file or directory
#include <acl/libacl.h>
^
The acl.h is in "include" directory, and include/Makefile creates
symlink "sys" and "acl" poinst to current dirctory:
$ ls include/ -l
acl -> .
sys -> .
So if "libacl" target runs before "include", the error would happen
since no "acl" or "sys" directory.
Let libacl depend on include can fix the problem.
[YOCTO #11349]
(From OE-Core rev: 73d3d81fcdb92dd85c6ad1609e3a6eb20f1ea539)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/ca-certificates')
0 files changed, 0 insertions, 0 deletions