summaryrefslogtreecommitdiffstats
path: root/crypto/gnupg/SUB_DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/gnupg/SUB_DEPENDS')
-rwxr-xr-xcrypto/gnupg/SUB_DEPENDS7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/gnupg/SUB_DEPENDS b/crypto/gnupg/SUB_DEPENDS
new file mode 100755
index 0000000000..7d4b4724b9
--- /dev/null
+++ b/crypto/gnupg/SUB_DEPENDS
@@ -0,0 +1,7 @@
+case $THIS_SUB_DEPENDS in
+ STATIC) if [[ $GNUPG_STATIC != y ]]; then
+ message "Requested statically linked GnuPG, forcing option GNUPG_STATIC=y" &&
+ GNUPG_STATIC=y
+ fi;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"; return 1;;
+esac