Index: wp-includes/link-template.php
===================================================================
--- wp-includes/link-template.php	(revision 25037)
+++ wp-includes/link-template.php	(working copy)
@@ -240,8 +240,12 @@
 function get_page_link( $post = false, $leavename = false, $sample = false ) {
 	$post = get_post( $post );
 
-	if ( 'page' == get_option( 'show_on_front' ) && $post->ID == get_option( 'page_on_front' ) )
-		$link = home_url('/');
+	if ( 'page' == get_option( 'show_on_front' ) && $post->ID == get_option( 'page_on_front' ) ) {
+		if ( ! got_mod_rewrite() )
+			$link = home_url( 'index.php/');
+		else
+			$link = home_url( '/' );
+	}
 	else
 		$link = _get_page_link( $post, $leavename, $sample );
 
