com php-src: Fix .pgd name for ts build: win32/build/Makefile
| From: | Anatol Belski | Date: | Fri, 18 Aug 2017 22:31:04 +0000 |
| Subject: | com php-src: Fix .pgd name for ts build: win32/build/Makefile | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99095@lists.php.net to get a copy of this message | ||
Commit: ba59b6f11bcbeb939359be5c567e877ed16ac8d4
Author: Anatol Belski <ab@php.net> Sat, 19 Aug 2017 00:31:04 +0200
Parents: b28912b0f767cf2deebbfaca30b2bea900416ce0
Branches: PHP-7.0 PHP-7.1 PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ba59b6f11bcbeb939359be5c567e877ed16ac8d4
Log:
Fix .pgd name for ts build
Changed paths:
M win32/build/Makefile
Diff:
diff --git a/win32/build/Makefile b/win32/build/Makefile
index 5389358..41f7420 100644
--- a/win32/build/Makefile
+++ b/win32/build/Makefile
@@ -80,8 +80,14 @@ sapi\phpdbg\phpdbg_lexer.c: sapi\phpdbg\phpdbg_lexer.l
$(RE2C) $(RE2C_FLAGS) --no-generation-date -cbdFo sapi/phpdbg/phpdbg_lexer.c
sapi/phpdbg/phpdbg_lexer.l
!endif
+!if "$(ZTS)" == "1"
+PHP7_PGD_SUFFIX=ts
+!else
+PHP7_PGD_SUFFIX=
+!endif
+
!if $(PGOMGR) != ""
-PHP7_PGD_OPTION=/PGD:$(PGOPGD_DIR)\php7.pgd
+PHP7_PGD_OPTION=/PGD:$(PGOPGD_DIR)\php7$(PHP7_PGD_SUFFIX).pgd
!else
PHP7_PGD_OPTION=
!endif