diff options
author | 2023-03-09 15:25:45 -0500 | |
---|---|---|
committer | 2023-03-09 15:25:45 -0500 | |
commit | 91f2b3ffc2f4a9cff9d42482a3b0460179fdfa45 (patch) | |
tree | b03f47c878623a4aec714c60b18cac4e09786a83 /src/fldd | |
parent | make --private-lib a compile time option, disabled by default (diff) | |
download | firejail-91f2b3ffc2f4a9cff9d42482a3b0460179fdfa45.tar.gz firejail-91f2b3ffc2f4a9cff9d42482a3b0460179fdfa45.tar.zst firejail-91f2b3ffc2f4a9cff9d42482a3b0460179fdfa45.zip |
private-lib cleanup
Diffstat (limited to 'src/fldd')
-rw-r--r-- | src/fldd/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fldd/main.c b/src/fldd/main.c index 4b645b1b3..63398ce2e 100644 --- a/src/fldd/main.c +++ b/src/fldd/main.c | |||
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | #include "../include/common.h" | 21 | #include "../include/common.h" |
22 | #include "../include/ldd_utils.h" | 22 | #include "../include/ldd_utils.h" |
23 | #ifdef HAVE_PRIVATE_LIB | ||
23 | 24 | ||
24 | #include <fcntl.h> | 25 | #include <fcntl.h> |
25 | #include <sys/mman.h> | 26 | #include <sys/mman.h> |
@@ -357,3 +358,9 @@ printf("\n"); | |||
357 | close(fd); | 358 | close(fd); |
358 | return 0; | 359 | return 0; |
359 | } | 360 | } |
361 | #else | ||
362 | int main(void) { | ||
363 | printf("Sorry, private lib is disabled in this build\n"); | ||
364 | return 0; | ||
365 | } | ||
366 | #endif \ No newline at end of file | ||