Changeset 4276


Ignore:
Timestamp:
Oct 4, 2012 7:36:39 AM (8 years ago)
Author:
nanang
Message:

Misc (re #1562): pkgconfig removed duplicated framework name from Libs without removing the '-framework' option itself, which caused link error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pkgconfig.py

    r4246 r4276  
    165165                        continue 
    166166                if opt != '-framework' and opt != '--framework' and filtered_opts.count(opt) != 0: 
     167                        if len(filtered_opts) and (filtered_opts[-1] == '-framework' or filtered_opts[-1] == '--framework'): 
     168                                filtered_opts.pop() 
    167169                        continue 
    168170                filtered_opts.append(opt) 
Note: See TracChangeset for help on using the changeset viewer.