Skip to content

Commit

Permalink
fixed windows patch
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Sep 1, 2017
1 parent 697956d commit 016cf1e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.sh text eol=lf
*.bat text eol=crlf
*.ps1 text eol=crlf
*.ps1 text eol=crlf
*.patch binary
4 changes: 2 additions & 2 deletions win32/copy-static-deps.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/win32/build/mkdist.php b/win32/build/mkdist.php
index b8c6af9d27..4b013fcefe 100644
index f97c49c9..e6853387 100644
--- a/win32/build/mkdist.php
+++ b/win32/build/mkdist.php
@@ -204,7 +204,8 @@ function extract_file_from_tarball($pkg, $filename, $dest_dir) /* {{{ */
@@ -210,7 +210,8 @@ function extract_file_from_tarball($pkg, $filename, $dest_dir) /* {{{ */

/* the core dll */
copy("$build_dir/php.exe", "$dist_dir/php.exe");
Expand Down
2 changes: 1 addition & 1 deletion windows-compile-vs.bat
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ cd php-src

REM TODO: remove this (won't be needed as of RC2)
call :pm-echo "Applying mkdist patch..."
git apply "%script_path%\win32\copy-static-deps.patch"
git apply --ignore-space-change --ignore-whitespace "%script_path%\win32\copy-static-deps.patch"
cd ..

call :pm-echo "Getting dependencies..."
Expand Down

0 comments on commit 016cf1e

Please sign in to comment.