Lines 145-152
Link Here
|
145 |
|
145 |
|
146 |
if options_dict is None: |
146 |
if options_dict is None: |
147 |
options_dict = { |
147 |
options_dict = { |
148 |
'include_dirs' : [], |
148 |
'include_dirs' : ['/usr/lib/mozilla-firefox/include/webbrwsr', |
149 |
'library_dirs' : [], |
149 |
'/usr/lib/mozilla-firefox/include/dom', |
|
|
150 |
'/usr/lib/mozilla-firefox/include/uriloader'], |
151 |
'library_dirs' : [], |
150 |
'libraries' : [], |
152 |
'libraries' : [], |
151 |
'extra_compile_args' : [] |
153 |
'extra_compile_args' : [] |
152 |
} |
154 |
} |
Lines 160-167
Link Here
|
160 |
options_dict['library_dirs'].append(rest) |
162 |
options_dict['library_dirs'].append(rest) |
161 |
elif prefix == '-l': |
163 |
elif prefix == '-l': |
162 |
options_dict['libraries'].append(rest) |
164 |
options_dict['libraries'].append(rest) |
163 |
else: |
|
|
164 |
options_dict['extra_compile_args'].append(comp) |
165 |
return options_dict |
165 |
return options_dict |
166 |
|
166 |
|
167 |
#### The fasttypes extension #### |
167 |
#### The fasttypes extension #### |
Lines 179-184
Link Here
|
179 |
elif re.search("^mozilla-xpcom", packages, re.MULTILINE): |
179 |
elif re.search("^mozilla-xpcom", packages, re.MULTILINE): |
180 |
xpcom = 'mozilla-xpcom' |
180 |
xpcom = 'mozilla-xpcom' |
181 |
gtkmozembed = 'mozilla-gtkmozembed' |
181 |
gtkmozembed = 'mozilla-gtkmozembed' |
|
|
182 |
elif re.search("^firefox-xpcom", packages, re.MULTILINE): |
183 |
xpcom = 'firefox-xpcom' |
184 |
gtkmozembed = 'firefox-gtkmozembed' |
182 |
else: |
185 |
else: |
183 |
raise RuntimeError("Can't find xulrunner-xpcom or mozilla-xpcom") |
186 |
raise RuntimeError("Can't find xulrunner-xpcom or mozilla-xpcom") |
184 |
mozilla_browser_options = parsePkgConfig("pkg-config" , |
187 |
mozilla_browser_options = parsePkgConfig("pkg-config" , |