Closed
Bug 276152
Opened 20 years ago
Closed 19 years ago
static build on cygwin/mingw broken (should not link Urlmon)
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: engel, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
2.27 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
Building a static version of firefox (probably the same for mozilla) does not work on a standard cygwin installation; it fails while linking firefox.exe. The linker cannot find "-lUrlmon," since MinGW currently does not provide the "Urlmon" library (see http://cvs.sourceforge.net/viewcvs.py/mingw/w32api/lib/). This problem can be fixed easily by removing "Urlmon" from STATIC_EXTRA_LIBS in config/static-config.mk. It seems that this library is not used at all (I am using --disable-accessibility and --disable-activex).
Reporter | ||
Comment 1•20 years ago
|
||
removing "Urlmon" from statically linking enables static builds on cygwin
Reporter | ||
Comment 2•20 years ago
|
||
Is the "Urlmon" library used when building with MSVC? If not, we could remove it generally. Maybe also #include <urlmon.h> could be removed.
Comment 3•20 years ago
|
||
Hans-Andreas, you're going to have to answer those kinds of questions before I can review this, or find somebody who can.
Reporter | ||
Comment 4•20 years ago
|
||
I am not asking for a review on this patch. (I only described a problem, the reason why it appears, and how it could be fixed on cygwin.) Benjamin, I thought you might be interested in this issue and added you as CC; sorry if this caused a misunderstanding. Indeed, I would like to find someone who has MSVC (I don't) and could try if linking firefox/mozilla without the "Urlmon" library works. Otherwise, this library can only be removed for cygwin, i.e., a more sophisticated patch to static-config.mk is required.
Assignee: bryner → nobody
Product: Firefox → Core
QA Contact: asa → build-config
Summary: static build on cygwin broken (should not link Urlmon) → static build on cygwin/mingw broken (should not link Urlmon)
Version: unspecified → Trunk
This patch removes all core urlmon references (except the activex plugin) from the tree. I tested it with mingw gcc & the free vc71 builds.
Attachment #169667 -
Attachment is obsolete: true
Attachment #201152 -
Flags: review?(benjamin)
Reporter | ||
Comment 6•19 years ago
|
||
Great! Chris, thank you for fixing this and for testing.
Updated•19 years ago
|
Attachment #201152 -
Flags: review?(benjamin) → review+
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9alpha
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•