diff options
Diffstat (limited to 'archive/burp/DEPENDS')
-rwxr-xr-x | archive/burp/DEPENDS | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/archive/burp/DEPENDS b/archive/burp/DEPENDS index 4fe2fe79e3..1c2d21519d 100755 --- a/archive/burp/DEPENDS +++ b/archive/burp/DEPENDS @@ -35,10 +35,15 @@ optional_depends attr \ "--disable-xattr" \ "for xattr support" && -optional_depends gettext \ - "--enable-nls" \ - "--disable-nls" \ - "for Native Language Support" && +# use gettext functions from libc built with gettext support for static binary +if list_find "$BURP_OPTS" "--enable-static"; then + list_add BURP_OPTS "--disable-nls" +else + optional_depends gettext \ + "--enable-nls" \ + "--disable-nls" \ + "for Native Language Support" +fi && optional_depends tcp_wrappers \ "--with-tcp-wrappers" \ |