diff options
author | Giulio Benetti <giulio.benetti@micronovasrl.com> | 2019-04-26 10:42:19 +0200 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-04-26 14:31:09 +0200 |
commit | 46bfc321578fbd828afbfb8f15f35fb4b45ebc70 (patch) | |
tree | 09d7ef6274beb2589a5e59092ea08f582ecfdc25 /test/camera/camera_test.h | |
parent | a10fbfcaaa531e67229ad6d43eea0ad8ec3e75f5 (diff) |
meson: check if secure_getenv() is present
Not all libc make secure_getenv() available, this could lead to build
failure on certain build systems.
Check if secure_getenv() is available and emit #define
HAVE_SECURE_GETENV to config.h Include config.h to every c/c++ file
during building by adding `-include config.h` to project arguments for
both c and c++.
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[Kieran: Drop unnessecary meson message
Update commit message]
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/camera/camera_test.h')
0 files changed, 0 insertions, 0 deletions