aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2021-08-25 19:50:46 -0700
committerAndrew G. Morgan <morgan@kernel.org>2021-08-25 19:50:46 -0700
commita0aaea6e27df499c4d3c548af16e3727b99ca918 (patch)
treeed4caec6a8ceb8fed7d164f7c93f3f1a71705fd3
parent935ab8f7cd332f958738c5c90d88dc2111187594 (diff)
downloadlibcap-a0aaea6e27df499c4d3c548af16e3727b99ca918.tar.gz
Add a comment about overriding DYNAMIC.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--Make.Rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Make.Rules b/Make.Rules
index 197a3df..b2bb1b8 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -102,6 +102,7 @@ INDENT := $(shell if [ -n "$$(which indent 2>/dev/null)" ]; then echo "| indent
# support shared libraries.)
SHARED ?= yes
# DYNAMIC controls how capsh etc are linked - to shared or static libraries
+# Force enabled with "make DYNAMIC=yes ...".
DYNAMIC := $(shell if [ ! -d "$(topdir)/.git" ]; then echo $(SHARED); else echo no ; fi)
PAM_CAP ?= $(shell if [ -f /usr/include/security/pam_modules.h ]; then echo $(SHARED) ; else echo no ; fi)