diff options
author | Jason Parker <jparker@digium.com> | 2013-03-11 15:09:56 -0500 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2013-03-11 15:09:56 -0500 |
commit | 483805f79570115ab95c69698792d238c1719b1b (patch) | |
tree | 6b53ab2fd2b2478f864ccc8bd1b0bfaedc4d2050 /pkgconfig.py | |
parent | f3ab456a17af1c89a6e3be4d20c5944853df1cb0 (diff) |
Import pjproject-2.1
Diffstat (limited to 'pkgconfig.py')
-rw-r--r-- | pkgconfig.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgconfig.py b/pkgconfig.py index 496e311..ee06884 100644 --- a/pkgconfig.py +++ b/pkgconfig.py @@ -163,7 +163,9 @@ if __name__ == "__main__": continue if REMOVE_THESE.count(opt) != 0: continue - if filtered_opts.count(opt) != 0: + if opt != '-framework' and opt != '--framework' and filtered_opts.count(opt) != 0: + if len(filtered_opts) and (filtered_opts[-1] == '-framework' or filtered_opts[-1] == '--framework'): + filtered_opts.pop() continue filtered_opts.append(opt) |