Add a --disable-shared configure option

NEW
Assigned to

Status

NSPR
NSPR
5 years ago
5 years ago

People

(Reporter: glandium, Assigned: Wan-Teh Chang)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
In typical projects using autotools, including libtool, there are configure options to enable/disable building a shared library and a static library. Currently, nspr builds both, and it would be useful not to waste time building the shared libraries when they are not needed. In bug 648407, I use a trick to do so: define SHARED_LIBRARY= IMPORT_LIBRARY= SHARED_LIB_PDB= when invoking make under nsprpub. It would be nicer if we didn't have to use a trick.
You need to log in before you can comment on or make changes to this bug.