aboutsummaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-04-28 17:48:09 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-04-29 17:27:36 -0300
commit62ac93a7b5adf4036695e8716d32758eed6eb180 (patch)
tree1b9e520011e038f88160516c2a263acc1242eb08 /install.sh
parentprofiles: fix new game profiles (diff)
downloadfirejail-master.tar.gz
firejail-master.tar.zst
firejail-master.zip
landlock: fix building without landlock.hHEADmaster
landlock.h may not be available on the system (such as with older versions of Linux API headers), so only try to include it if `HAVE_LANDLOCK` is defined. This fixes the following error from `build_debian_package` (which uses `debian:buster`) on GitLab CI[1]: $ ./mkdeb.sh --enable-fatal-warnings [...] gcc [...] -c ../../src/firejail/landlock.c -o ../../src/firejail/landlock.o ../../src/firejail/landlock.c:22:10: fatal error: linux/landlock.h: No such file or directory #include <linux/landlock.h> ^~~~~~~~~~~~~~~~~~ compilation terminated. This amends commit a05ae97af ("landlock: amend empty functions and comments", 2024-04-08) / PR #6305. Relates to #6078. [1] https://gitlab.com/Firejail/firejail_ci/-/jobs/6743161059
Diffstat (limited to 'install.sh')
0 files changed, 0 insertions, 0 deletions