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

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4276 74dad513-b988-da41-8d7b-12977e46ad98
remotes/origin/ip_change
Nanang Izzuddin 12 years ago
parent 6c80455c1e
commit aa6742707e

@ -164,6 +164,8 @@ if __name__ == "__main__":
if REMOVE_THESE.count(opt) != 0: if REMOVE_THESE.count(opt) != 0:
continue continue
if opt != '-framework' and opt != '--framework' and 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 continue
filtered_opts.append(opt) filtered_opts.append(opt)

Loading…
Cancel
Save