Skip to content

Commit ba59b6f

Browse files
committed
Fix .pgd name for ts build
1 parent b28912b commit ba59b6f

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
@@ -80,8 +80,14 @@ sapi\phpdbg\phpdbg_lexer.c: sapi\phpdbg\phpdbg_lexer.l
8080
$(RE2C) $(RE2C_FLAGS) --no-generation-date -cbdFo sapi/phpdbg/phpdbg_lexer.c sapi/phpdbg/phpdbg_lexer.l
8181
!endif
8282

83+
!if "$(ZTS)" == "1"
84+
PHP7_PGD_SUFFIX=ts
85+
!else
86+
PHP7_PGD_SUFFIX=
87+
!endif
88+
8389
!if $(PGOMGR) != ""
84-
PHP7_PGD_OPTION=/PGD:$(PGOPGD_DIR)\php7.pgd
90+
PHP7_PGD_OPTION=/PGD:$(PGOPGD_DIR)\php7$(PHP7_PGD_SUFFIX).pgd
8591
!else
8692
PHP7_PGD_OPTION=
8793
!endif

0 commit comments

Comments
 (0)