diff --git a/tools/build-system/launch-build-machine-jenkins.sh b/tools/build-system/launch-build-machine-jenkins.sh
index 04634715a3d9eb1a3d917a00e1e2824eaf5c0efc..5f606af6ff07543fc0907ee28c97870ccd67258f 100755
--- a/tools/build-system/launch-build-machine-jenkins.sh
+++ b/tools/build-system/launch-build-machine-jenkins.sh
@@ -280,6 +280,7 @@ END
                             ../bootstrap
                             # only fetch it, don't build it
                             make iax
+                            make dht
                         else
                             pushd libs
                             #./compile_pjsip.sh #This script should not attempt to compile
diff --git a/tools/build-system/launchpad/sflphone-daemon-video/debian/rules b/tools/build-system/launchpad/sflphone-daemon-video/debian/rules
index e85c9806688e4c685c535df91a397dbebacc8a72..d1bba5389049146b79c41b55cff459707c961fda 100755
--- a/tools/build-system/launchpad/sflphone-daemon-video/debian/rules
+++ b/tools/build-system/launchpad/sflphone-daemon-video/debian/rules
@@ -20,8 +20,8 @@ configure: configure-stamp
 configure-stamp:
 	dh_testdir
 	# Add here commands to configure the package.
-	# build iax with contrib since it is not packaged
-	cd contrib && mkdir -p native && cd native && ../bootstrap && make .iax && cd ../..
+	# build iax and opendht with contrib since they are not packaged
+	cd contrib && mkdir -p native && cd native && ../bootstrap && make .iax && make .dht cd ../..
 	./autogen.sh
 	./configure --prefix=/usr
 	touch configure-stamp
diff --git a/tools/build-system/launchpad/sflphone-daemon/debian/rules b/tools/build-system/launchpad/sflphone-daemon/debian/rules
index fc6f77eca24326172a57b7392be94110a36c896b..ff8ac6dcc2ed3fb5b996939cf18e2254de274d1b 100755
--- a/tools/build-system/launchpad/sflphone-daemon/debian/rules
+++ b/tools/build-system/launchpad/sflphone-daemon/debian/rules
@@ -20,8 +20,8 @@ configure: configure-stamp
 configure-stamp:
 	dh_testdir
 	# Add here commands to configure the package.
-	# build iax with contrib since it is not packaged
-	cd contrib && mkdir -p native && cd native && ../bootstrap && make .iax && cd ../..
+	# build iax and opendht with contrib since they are not packaged
+	cd contrib && mkdir -p native && cd native && ../bootstrap && make .iax && make .dht && cd ../..
 	./autogen.sh
 	./configure --prefix=/usr --disable-video
 	touch configure-stamp