@@ -517,6 +517,7 @@ class MacOSArmWithBrewBuild(UnixBuild):
517
517
"--with-openssl=/opt/homebrew/opt/openssl@3" ,
518
518
"CPPFLAGS=-I/opt/homebrew/include" ,
519
519
"LDFLAGS=-L/opt/homebrew/lib" ,
520
+ "PKG_CONFIG_PATH=/opt/homebrew/opt/tcl-tk@8/lib/pkgconfig" ,
520
521
]
521
522
# These tests are known to crash on M1 macs (see bpo-45289).
522
523
testFlags = [* UnixBuild .testFlags ,
@@ -530,6 +531,7 @@ class MacOSArmWithBrewNoGilBuild(UnixNoGilBuild):
530
531
"--with-openssl=/opt/homebrew/opt/openssl@3" ,
531
532
"CPPFLAGS=-I/opt/homebrew/include" ,
532
533
"LDFLAGS=-L/opt/homebrew/lib" ,
534
+ "PKG_CONFIG_PATH=/opt/homebrew/opt/tcl-tk@8/lib/pkgconfig" ,
533
535
]
534
536
535
537
@@ -540,6 +542,7 @@ class MacOSArmWithBrewRefleakBuild(UnixRefleakBuild):
540
542
"--with-openssl=/opt/homebrew/opt/openssl@3" ,
541
543
"CPPFLAGS=-I/opt/homebrew/include" ,
542
544
"LDFLAGS=-L/opt/homebrew/lib" ,
545
+ "PKG_CONFIG_PATH=/opt/homebrew/opt/tcl-tk@8/lib/pkgconfig" ,
543
546
]
544
547
545
548
@@ -550,6 +553,7 @@ class MacOSArmWithBrewNoGilRefleakBuild(UnixNoGilRefleakBuild):
550
553
"--with-openssl=/opt/homebrew/opt/openssl@3" ,
551
554
"CPPFLAGS=-I/opt/homebrew/include" ,
552
555
"LDFLAGS=-L/opt/homebrew/lib" ,
556
+ "PKG_CONFIG_PATH=/opt/homebrew/opt/tcl-tk@8/lib/pkgconfig" ,
553
557
]
554
558
555
559
@@ -559,6 +563,7 @@ class MacOSAsanNoGilBuild(UnixAsanNoGilBuild):
559
563
"--with-openssl=/opt/homebrew/opt/openssl@3" ,
560
564
"CPPFLAGS=-I/opt/homebrew/include" ,
561
565
"LDFLAGS=-L/opt/homebrew/lib" ,
566
+ "PKG_CONFIG_PATH=/opt/homebrew/opt/tcl-tk@8/lib/pkgconfig" ,
562
567
]
563
568
asan_options = 'detect_leaks=0:allocator_may_return_null=1:handle_segv=0'
564
569
compile_environ = {'ASAN_OPTIONS' : asan_options }
0 commit comments