Closed
Bug 671264
Opened 13 years ago
Closed 11 years ago
Look for js headers in "include/js/" in addition of "include/$jsname/"
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Developer Infrastructure
Source Code Analysis
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mounir, Assigned: mounir)
Details
Attachments
(1 file)
1001 bytes,
patch
|
taras.mozilla
:
review+
|
Details | Diff | Splinter Review |
TBH, I doubt jsname should be used for something else than the lib name but at least with this patch we are safe in both cases.
Attachment #545658 -
Flags: review?(tglek)
Comment 1•13 years ago
|
||
It would probably be better to "simply" rely on pkg-config.
Updated•13 years ago
|
Attachment #545658 -
Flags: review?(tglek) → review+
Assignee | ||
Comment 2•13 years ago
|
||
(In reply to comment #1) > It would probably be better to "simply" rely on pkg-config. As I understand it, that would require checking if "js", "mozjs" or "mozjs185" is the correct module and then use `pkg-config --cflags mozjs185` and cut it to find the correct include directory. Is that what you had in mind?
Comment 3•13 years ago
|
||
(In reply to comment #1) > It would probably be better to "simply" rely on pkg-config. I don't think that's terribly tenable for people who rely on building spidermonkey from source instead of using distro-provided versions.
Assignee | ||
Comment 4•11 years ago
|
||
Was going trough my old bugs, it's now pushed: https://hg.mozilla.org/rewriting-and-analysis/dehydra/rev/9a7704207d98 Feel free to open a follow-up to use pkg-config.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Whiteboard: [needs review]
Updated•6 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•