Name

mk_prebuilt_library — Stage a pre-built library

Synopsis

MODULES="... compiler ..."

mk_prebuilt_library LIB=name options...

Options

LIB=name

Sets the name of the library. Do not specify a leading lib or file extension.

SHARED=shared

Specifies the shared library binary.

STATIC=static

Specifies the static library file.

LA=la

Specifies the libtool archive file. If not specified, one will be generated.

VERSION=verspec

Sets the version as in mk_library.

...

Other common options documented in the compiler module.

Description

Defines a target to install a pre-built a C/C++ library. This may be useful if you do not have the source for a library you wish to use and bundle with your project.

At least one of shared and static must be specified.

Sets result to the staged .la file in canonical target notation.