diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c
index b5c1587..7dc2b72 100644
--- a/src/logic/slbt_exec_install.c
+++ b/src/logic/slbt_exec_install.c
@@ -391,10 +391,11 @@ static int slbt_exec_install_entry(
 	dot = strrchr(srcfile,'.');
 	strcpy(dot,dctx->cctx->settings.arsuffix);
 
-	if (slbt_copy_file(dctx,ectx,
-			srcfile,
-			dest ? (char *)dest->arg : *dst))
-		return SLBT_NESTED_ERROR(dctx);
+	if (!(dctx->cctx->drvflags & SLBT_DRIVER_DISABLE_STATIC))
+		if (slbt_copy_file(dctx,ectx,
+				srcfile,
+				dest ? (char *)dest->arg : *dst))
+			return SLBT_NESTED_ERROR(dctx);
 
 	/* dot/suffix */
 	strcpy(slnkname,srcfile);