Skip to content

Commit

Permalink
windows choose intended make.exe
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver committed Oct 25, 2023
1 parent dffe32c commit f57c9d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cue.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,8 +693,10 @@ def setup_for_build(args):
if ci['os'] == 'windows':
if os.path.exists(r'C:\Strawberry\perl\bin'):
# Put strawberry perl in front of the PATH (so that Git Perl is further behind)
# Put Chocolatey\bin ahead to select correct make.exe
logger.debug('Adding Strawberry Perl in front of the PATH')
os.environ['PATH'] = os.pathsep.join([r'C:\Strawberry\c\bin',
os.environ['PATH'] = os.pathsep.join([r'C:\ProgramData\Chocolatey\bin',
r'C:\Strawberry\c\bin',
r'C:\Strawberry\perl\site\bin',
r'C:\Strawberry\perl\bin',
os.environ['PATH']])
Expand Down

0 comments on commit f57c9d5

Please sign in to comment.