From 483805f79570115ab95c69698792d238c1719b1b Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Mon, 11 Mar 2013 15:09:56 -0500 Subject: Import pjproject-2.1 --- pkgconfig.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgconfig.py') 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) -- cgit v1.2.3