diff --git a/general/prog/swig.xml b/general/prog/swig.xml
index e4582ceefc..daed73a9a8 100644
--- a/general/prog/swig.xml
+++ b/general/prog/swig.xml
@@ -121,7 +121,8 @@
commands:
-./configure --prefix=/usr \
+./configure --prefix=/usr \
+ --without-javascript \
--without-maximum-compile-warnings &&
make
@@ -166,6 +167,7 @@ cp -v -R Doc/* /usr/share/doc/swig-&swig-version;
languages capabilities of SWIG are always
built.
+