From 2986bfff3eac31ab555bc2eaa65a0618eab7261c Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Mon, 7 Nov 2022 19:44:45 -0800 Subject: [PATCH] use php binary --- Makefile.frag.w32 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.frag.w32 b/Makefile.frag.w32 index 673ae17..038cd0e 100644 --- a/Makefile.frag.w32 +++ b/Makefile.frag.w32 @@ -1,6 +1,6 @@ CMAKE=cmake.exe - +PHP_BINARY=$(PHP_PREFIX)\php.exe CMAKE_CONFIGURE = $(CMAKE) -DCMAKE_INSTALL_PREFIX=$(AWSCRT_DIR)\build\install -DCMAKE_PREFIX_PATH=$(AWSCRT_DIR)\build\install -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE) CMAKE_BUILD = $(CMAKE) --build CMAKE_BUILD_TYPE = Release @@ -31,5 +31,5 @@ $(AWSCRT_DIR)\ext\api.h : $(AWSCRT_DIR)\src\api.h test-awscrt: install $(AWSCRT_DIR)\src\api.h $(BUILD_DIR)\php_awscrt.dll curl -o composer-setup.php https://getcomposer.org/installer php .\composer-setup.php - php -c $(AWSCRT_DIR)\php-win.ini .\composer.phar --working-dir=$(AWSCRT_DIR) update - php -c $(AWSCRT_DIR)\php-win.ini .\composer.phar --working-dir=$(AWSCRT_DIR) run test-win + $(PHP_BINARY) -c $(AWSCRT_DIR)\php-win.ini .\composer.phar --working-dir=$(AWSCRT_DIR) update + $(PHP_BINARY) -c $(AWSCRT_DIR)\php-win.ini .\composer.phar --working-dir=$(AWSCRT_DIR) run test-win