diff --git a/scripts/prepare b/scripts/prepare
index 84c6fe9a279460c2e473cedaa1cb4b3d9dc05e1a..b83daa9835657258425d80d193c9bf0bdef71fa4 100755
--- a/scripts/prepare
+++ b/scripts/prepare
@@ -15,5 +15,5 @@ if [[ ! -d "${PROJDIR}/lib/AppImageUpdate-prebuilt" ]]; then
     mkdir "${PROJDIR}/lib/AppImageUpdate-prebuilt"
     cd "${PROJDIR}/lib/AppImageUpdate-prebuilt"
     cmake "${PROJDIR}/lib/AppImageUpdate" -DUSE_SYSTEM_CURL=ON -DBUILD_CPR_TESTS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo
-    make libappimageupdate
+    make libappimageupdate_static
 fi