Skip to content

Commit f57c9d5

Browse files
committed
windows choose intended make.exe
1 parent dffe32c commit f57c9d5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cue.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,10 @@ def setup_for_build(args):
693693
if ci['os'] == 'windows':
694694
if os.path.exists(r'C:\Strawberry\perl\bin'):
695695
# Put strawberry perl in front of the PATH (so that Git Perl is further behind)
696+
# Put Chocolatey\bin ahead to select correct make.exe
696697
logger.debug('Adding Strawberry Perl in front of the PATH')
697-
os.environ['PATH'] = os.pathsep.join([r'C:\Strawberry\c\bin',
698+
os.environ['PATH'] = os.pathsep.join([r'C:\ProgramData\Chocolatey\bin',
699+
r'C:\Strawberry\c\bin',
698700
r'C:\Strawberry\perl\site\bin',
699701
r'C:\Strawberry\perl\bin',
700702
os.environ['PATH']])

0 commit comments

Comments
 (0)