Unverified Commit aa360e40 authored by Lance Chen's avatar Lance Chen
Browse files

Add an option to control building static library with PIC or not



The option WITH_PIC is default to OFF.

By default, the static library is built from the
source code directly. If WITH_PIC is enabled, the
static library is built with the same set of
object libraries that the shared library uses.

To link Mosquitto static library into a shared
library, one must enable WITH_PIC to make the
piece of code locatable.

Signed-off-by: default avatarLance Chen <cyen0312@gmail.com>
parent 7ee997e6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment