Changeset a9fb574 in rtems-source-builder


Ignore:
Timestamp:
Nov 12, 2018, 11:27:14 PM (6 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
77a0075
Parents:
384ff19
git-author:
Chris Johns <chrisj@…> (11/12/18 23:27:14)
git-committer:
Chris Johns <chrisj@…> (11/17/18 01:37:20)
Message:

sb: Fix pkg-config arg parsing after being wrapped.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/cmd-pkg-config.py

    r384ff19 ra9fb574  
    3434import sys
    3535
    36 base = os.path.dirname(sys.argv[0])
     36base = os.path.dirname(sys.argv[1])
    3737
    3838try:
     
    207207    log('-' * 40)
    208208    log('pkg-config', lf = False)
    209     for a in sys.argv[1:]:
     209    for a in sys.argv[2:]:
    210210        log(' "%s"' % (a), lf = False)
    211211    log('')
    212     ec = run(sys.argv)
     212    ec = run(sys.argv[1:])
    213213    log('ec = %d' % (ec))
    214214except ImportError:
Note: See TracChangeset for help on using the changeset viewer.