Opened 9 years ago

Closed 8 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 Changed 9 years ago by dmik

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 Changed 8 years ago by Silvan Scherrer

Milestone: dev tools

comment:3 Changed 8 years ago by dmik

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.