Closed
Bug 114013
Opened 23 years ago
Closed 23 years ago
static build fails to link libxpinstall.so
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.7
People
(Reporter: colin, Assigned: netscape)
Details
I just tried a static build and everything went find except for one problem. In the link of libxpinstall.so (xpinstall/src), it couldn't find the mozjs library. The reference is MOZ_JS_LIBS which is defined as -L$(DIST)/bin -lmozjs. Problem is that when libmozjs.a was built in js/src it got installed to dist/lib, not dist/bin. dist/lib does appear on the libxpinstall ld command line, but its AFTER -lmozjs. Doesn't ld only search -L directories that were specified BEFORE the -l ?? That's certainly the way I have it working on OpenVMS.
| Assignee | ||
Comment 1•23 years ago
|
||
It might depend upon the linker although I would expect the behavior that you are seeing. Here's the quick fix: Index: xpinstall/src/Makefile.in - -L$(DIST)/bin \ + $(LIBS_DIR) \
| Reporter | ||
Comment 2•23 years ago
|
||
Yep, that ought to do it.
Comment 3•23 years ago
|
||
r=bryner
| Reporter | ||
Comment 4•23 years ago
|
||
I verified that this change fixed the problem on OpenVMS.
Comment 5•23 years ago
|
||
a=asa (on behalf of drivers) for checkin to 0.9.7
Keywords: mozilla0.9.7 → mozilla0.9.7+
| Assignee | ||
Comment 6•23 years ago
|
||
Checking in xpinstall/src/Makefile.in; /cvsroot/mozilla/xpinstall/src/Makefile.in,v <-- Makefile.in new revision: 1.58; previous revision: 1.57 done
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•