Misc (re #1562): pkgconfig removed multiple occurences of -framework from Libs command-line causing link error (thanks Samuel Vinson for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4246 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pkgconfig.py b/pkgconfig.py
index 496e311..300045f 100644
--- a/pkgconfig.py
+++ b/pkgconfig.py
@@ -163,7 +163,7 @@
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:
continue
filtered_opts.append(opt)