diff --git a/third-party/jansson/Makefile b/third-party/jansson/Makefile
index 25853509bdba0b496f3c70b706dab816527cd590..ca57b1a176be3e96f149ab066f455ba48cf29903 100644
--- a/third-party/jansson/Makefile
+++ b/third-party/jansson/Makefile
@@ -55,7 +55,7 @@ SHELL_ECHO_PREFIX := echo '[jansson] '
 dest/include/jansson.h: source/config.status
 	$(ECHO_PREFIX) Building bundled jansson.
 	$(CMD_PREFIX) (cd source; make $(REALLY_QUIET))
-	$(CMD_PREFIX) (cd source; make install $(REALLY_QUIET))
+	$(CMD_PREFIX) (cd source; make install DESTDIR= $(REALLY_QUIET))
 
 .DELETE_ON_ERROR: