]> granicus.if.org Git - php/commitdiff
Make phpize use PHP_PREFIX as the default location (windows)
authory-uti <y.uchiyama.1015@gmail.com>
Sat, 26 Mar 2016 09:56:25 +0000 (18:56 +0900)
committerAnatol Belski <ab@php.net>
Mon, 25 Jul 2016 07:46:00 +0000 (09:46 +0200)
The default path to where an extension is installed should be
PHP_PREFIX/ext on windows.

win32/build/config.w32.phpize.in

index 09e82d73bf780218098da56193a2ade41c0aadd4..70b4dc5e834165b3a32363262a77ce72263a6381 100644 (file)
@@ -40,7 +40,7 @@ DEFINE("BASE_INCLUDES", "/I " + PHP_DIR + "/include /I " + PHP_DIR + "/include/m
 \r
 toolset_setup_common_cflags();\r
 \r
-ARG_WITH('prefix', 'PHP installation prefix', '');\r
+ARG_WITH('prefix', 'PHP installation prefix', PHP_PREFIX);
 ARG_WITH('mp', 'Tell Visual Studio use up to [n,auto,disable] processes for compilation', 'auto');\r
 var PHP_MP_DISABLED = true;\r
 if (VS_TOOLSET && PHP_MP != 'disable') {\r