Skip to content

Commit fb55ec3

Browse files
committed
Merge branch 'PHP-7.2'
* PHP-7.2: Fix .pgd name for ts build
2 parents b6ea3ec + f2ed8c1 commit fb55ec3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

win32/build/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,14 @@ sapi\phpdbg\phpdbg_lexer.c: sapi\phpdbg\phpdbg_lexer.l
8686
$(RE2C) $(RE2C_FLAGS) --no-generation-date -cbdFo sapi/phpdbg/phpdbg_lexer.c sapi/phpdbg/phpdbg_lexer.l
8787
!endif
8888

89+
!if "$(ZTS)" == "1"
90+
PHP7_PGD_SUFFIX=ts
91+
!else
92+
PHP7_PGD_SUFFIX=
93+
!endif
94+
8995
!if $(PGOMGR) != ""
90-
PHP7_PGD_OPTION=/PGD:$(PGOPGD_DIR)\php7.pgd
96+
PHP7_PGD_OPTION=/PGD:$(PGOPGD_DIR)\php7$(PHP7_PGD_SUFFIX).pgd
9197
!else
9298
PHP7_PGD_OPTION=
9399
!endif

0 commit comments

Comments
 (0)