We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9abf231 commit 091873eCopy full SHA for 091873e
tools/testing/selftests/landlock/Makefile
@@ -3,7 +3,6 @@
3
# First run: make -C ../../../.. headers_install
4
5
CFLAGS += -Wall -O2 $(KHDR_INCLUDES)
6
-LDLIBS += -lcap
7
8
LOCAL_HDRS += common.h
9
@@ -13,10 +12,12 @@ TEST_GEN_PROGS := $(src_test:.c=)
13
12
14
TEST_GEN_PROGS_EXTENDED := true
15
16
-# Static linking for short targets:
+# Short targets:
+$(TEST_GEN_PROGS): LDLIBS += -lcap
17
$(TEST_GEN_PROGS_EXTENDED): LDFLAGS += -static
18
19
include ../lib.mk
20
21
-# Static linking for targets with $(OUTPUT)/ prefix:
+# Targets with $(OUTPUT)/ prefix:
22
23
0 commit comments