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 dmik, 9 years ago

An obvious way to fix it is to detect the AR value and set the libext litmain.sh variable accordingly (now it always defaults to a on OS/2).

comment:2 by Silvan Scherrer, 9 years ago

Milestone: dev tools

comment:3 by dmik, 9 years ago

Resolution: fixed
Status: newclosed

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.