summaryrefslogtreecommitdiff
path: root/pkgconfig.py
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2012-09-06 09:38:33 +0000
committerBenny Prijono <bennylp@teluu.com>2012-09-06 09:38:33 +0000
commit06e6dab388f2e916cf7d4e9af79165c440fc0e9b (patch)
tree948323fbac3afba1b97e33c8d89c0095fe456709 /pkgconfig.py
parent1284374a0b9dbdd5b19c01763ad64e186618ef42 (diff)
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: http://svn.pjsip.org/repos/pjproject/trunk@4246 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pkgconfig.py')
-rw-r--r--pkgconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgconfig.py b/pkgconfig.py
index 496e311b..300045fa 100644
--- a/pkgconfig.py
+++ b/pkgconfig.py
@@ -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)