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
This commit is contained in:
Benny Prijono 2012-09-06 09:38:33 +00:00
parent 3b078ed1dd
commit 5324e3b1f5
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ 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:
continue
filtered_opts.append(opt)