summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-08-31 20:34:41 +0200
committerAnatol Belski <ab@php.net>2017-08-31 20:34:41 +0200
commit27644c14665cf6b7754bb8488a10ffc2306d7f07 (patch)
treece2a20b45f13fa208a169777f4964634be179330 /win32
parent1a116169e7978db21325d095c12d893a0cdef4bd (diff)
parente7c1c86ceb8e8580ed3f4f171357e43b14d95c7b (diff)
downloadphp-git-27644c14665cf6b7754bb8488a10ffc2306d7f07.tar.gz
Merge branch 'PHP-7.2'
* PHP-7.2: Fix `nmake install` fails when there are no shared extensions
Diffstat (limited to 'win32')
-rw-r--r--win32/build/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/build/Makefile b/win32/build/Makefile
index 69eaddec97..aa81443dd7 100644
--- a/win32/build/Makefile
+++ b/win32/build/Makefile
@@ -245,9 +245,9 @@ really-install:
@if not exist $(PHP_PREFIX) mkdir $(PHP_PREFIX)
@if not exist $(PHP_PREFIX)\ext mkdir $(PHP_PREFIX)\ext
@echo Installing files under $(PHP_PREFIX)
- @copy $(BUILD_DIR)\*.exe $(PHP_PREFIX) /y >nul
- @copy $(BUILD_DIR)\php_*.dll $(PHP_PREFIX)\ext /y >nul
- dir /b $(BUILD_DIR)\php_*.dll > $(BUILD_DIR)\extension_dlls.txt
+ @if exist $(BUILD_DIR)\*.exe copy $(BUILD_DIR)\*.exe $(PHP_PREFIX) /y >nul
+ @touch $(BUILD_DIR)\extension_dlls.txt
+ @if exist $(BUILD_DIR)\php_*.dll copy $(BUILD_DIR)\php_*.dll $(PHP_PREFIX)\ext /y >nul & dir /b $(BUILD_DIR)\php_*.dll > $(BUILD_DIR)\extension_dlls.txt
@xcopy $(BUILD_DIR)\*.dll /exclude:$(BUILD_DIR)\extension_dlls.txt $(PHP_PREFIX) /y >nul
@echo Registering event source with syslog (requires admin rights)
@echo It's okay for this step to fail: