Changeset 3204


Ignore:
Timestamp:
Dec 22, 2017 10:17:55 PM (6 years ago)
Author:
toby
Message:

add ming path to makeBat.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/makeBat.py

    r3166 r3204  
    6666    G2s = G2script
    6767    if ' ' in G2s: G2s = '"'+G2script+'"'
     68    # is mingw-w64\bin present? If so add it to path.
     69    d = os.path.split(pexe)[0]
     70    mdir = os.path.join(d,'Library','mingw-w64','bin')
     71    if os.path.exists(mdir):
     72        fp.write('@path={};%path%\n'.format(mdir))
    6873    fp.write(Script.format(pexe,G2s))
    6974    fp.close()
Note: See TracChangeset for help on using the changeset viewer.