diff --git a/substitute.mk b/substitute.mk
index 6557e496d..cc21eba40 100644
--- a/substitute.mk
+++ b/substitute.mk
@@ -5,6 +5,7 @@
 	 -e "s^@sysconfdir\@^$(sysconfdir)^g" \
 	 -e "s^@localstatedir\@^$(localstatedir)^g" \
 	 -e "s^@datadir\@^$(datadir)^g" \
+	 -e "s^@libexecdir\@^$(libexecdir)^g" \
 	 -e "s^@system\@^$(system)^g" \
 	 -e "s^@wget\@^$(wget)^g" \
 	 < $< > $@ || rm $@