Closed
Bug 594338
Opened 14 years ago
Closed 14 years ago
-lmozjs is not available in latest xulrunner SDK... but still present in mozilla-js.pc.in
Categories
(Toolkit Graveyard :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: romaxa, Assigned: romaxa)
References
Details
Attachments
(3 files, 3 obsolete files)
2.45 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
2.46 KB,
patch
|
dougt
:
approval2.0+
|
Details | Diff | Splinter Review |
1.11 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
I think -lmozjs should be removed together with mozilla-js.pc.in file
or it should have -lmozjs added under some ifdef like ifndef MOZ_LIBXUL or something like that.
Benjamin what is correct way to proceed here?
Assignee | ||
Comment 1•14 years ago
|
||
this is preventing us from native extensions and embedding applications building.
Assignee | ||
Comment 2•14 years ago
|
||
Comment 3•14 years ago
|
||
Comment on attachment 473804 [details] [diff] [review]
Possible fix,
maybe we only care about the patch to mozilla-js.pc.in?
Attachment #473804 -
Flags: review? → review?(khuey)
Comment on attachment 473804 [details] [diff] [review]
Possible fix,
You need to add MOZ_JS_LINK to the sed command. r=me with that.
Attachment #473804 -
Flags: review?(khuey) → review+
Actually, when js is in libxul, you need to make the flags for js the same as the flags for libxul.
Assignee | ||
Comment 6•14 years ago
|
||
Attachment #473804 -
Attachment is obsolete: true
Attachment #474063 -
Flags: review?(khuey)
Assignee | ||
Comment 7•14 years ago
|
||
Attachment #474063 -
Attachment is obsolete: true
Attachment #474066 -
Flags: review?(khuey)
Attachment #474063 -
Flags: review?(khuey)
Comment on attachment 474066 [details] [diff] [review]
Add missing sed part
>+MOZ_XUL_LINK= -lxpcomglue_s -lxul -lxpcom
>+ifdef JS_SHARED_LIBRARY
>+MOZ_JS_LINK= -lmozjs
>+else
>+MOZ_JS_LINK= $(MOZ_XUL_LINK)
>+endif
>+
Nit: lose the spaces after the '='
r=me
Attachment #474066 -
Flags: review?(khuey) → review+
Assignee | ||
Comment 9•14 years ago
|
||
Assignee | ||
Updated•14 years ago
|
Attachment #474068 -
Flags: approval2.0?
Assignee | ||
Comment 10•14 years ago
|
||
can we get approval2.0 for that patch? I think distributions will be happy about it
Also Meego mozilla-platform based apps will be happy about proper xulrunner SDK pkgconfig.
Comment 11•14 years ago
|
||
Comment on attachment 474068 [details] [diff] [review]
added missing spaces... comment 8 (PUSH ME)
this is a build bustage for people using the mozilla platform. the test should be that we continue to compile, and these other apps no longer have a problem. risk is low.
oleg, make sure you run through try before pushing.
Attachment #474068 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 12•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 13•14 years ago
|
||
Comment on attachment 474068 [details] [diff] [review]
added missing spaces... comment 8 (PUSH ME)
> -e "s|%NSPR_VERSION%|$(NSPR_VERSION)|" > $@
>+ -e "s|%MOZ_XUL_LINK%|$(MOZ_XUL_LINK)|" \
>+ -e "s|%MOZ_JS_LINK%|$(MOZ_JS_LINK)|" \
> chmod 644 $@
don't think that'll work
Heh, you are correct.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 15•14 years ago
|
||
Attachment #474710 -
Flags: review?(khuey)
Comment on attachment 474710 [details] [diff] [review]
I need to rest :(
Keep the NSPR stuff together please and just move the '> $@' down to the js link line.
Attachment #474710 -
Flags: review?(khuey) → review+
Assignee | ||
Comment 17•14 years ago
|
||
Fixed comment
Attachment #474710 -
Attachment is obsolete: true
Attachment #474714 -
Flags: review?(khuey)
Attachment #474714 -
Flags: review?(khuey) → review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 18•14 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•