Opened 9 years ago
Closed 9 years ago
#72 closed defect (fixed)
libtool: set libext to lib when using emxomfar
Reported by: | dmik | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | dev tools |
Component: | libtool | Version: | |
Severity: | medium | Keywords: | |
Cc: |
Description
Currently, if you override the librarian with AR=emxomfar
(this is what e.g. Firefox does), the strange thing happens: libtoo will call emxomfar
to generate a static library in OMF format but will give it the (default) .a
extension. This confuses many tools (and in particular breaks the Firefox build since it expects ffi.lib
for libffi
but gets ffi.a
). This needs to be fixed.
Change History (3)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Milestone: | → dev tools |
---|
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Done in r1282. libext
is now set to lib
if AR
is emxomfar
. Firefox should be happy now.
Note:
See TracTickets
for help on using tickets.
An obvious way to fix it is to detect the
AR
value and set thelibext
litmain.sh variable accordingly (now it always defaults toa
on OS/2).