summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r--BuildTools/SCons/SConstruct7
1 files changed, 7 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index ee42e57..0cfa211 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -250,6 +250,13 @@ if conf.CheckCHeader("expat.h") and conf.CheckLib("expat") :
env["HAVE_EXPAT"] = 1
env["EXPAT_FLAGS"] = { "LIBS": ["expat"] }
+# LibIDN
+if conf.CheckCHeader("idna.h") and conf.CheckLib("idn") :
+ env["LIBIDN_FLAGS"] = { "LIBS": ["idn"] }
+else :
+ env["LIBIDN_BUNDLED"] = 1
+
+
conf.Finish()
# Xss