From ba59b6f11bcbeb939359be5c567e877ed16ac8d4 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sat, 19 Aug 2017 00:31:04 +0200 Subject: [PATCH] Fix .pgd name for ts build --- win32/build/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/win32/build/Makefile b/win32/build/Makefile index 5389358787..41f7420fa6 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 -- 2.40.0