Skip to content
This repository was archived by the owner on Mar 7, 2018. It is now read-only.

Force static linking instead of honoring BUILD_SHARED_LIBS - #4

Merged
dirk-thomas merged 1 commit into
masterfrom
static-link
Apr 10, 2017
Merged

dirk-thomas merged 1 commit into
masterfrom
static-link

Conversation

@esteve

@esteve esteve commented Apr 7, 2017 •

Copy link
Copy Markdown
Contributor

Force static linking instead of honoring BUILD_SHARED_LIBS

See ros2/rmw#81 (comment)

Connects to ros2/ros2#306

@dirk-thomas

Copy link
Copy Markdown
Contributor

I am not sure this is the best approach. If we aim to build all libs as SHARED why shouldn't that also apply to gtest/gmock? Especially since we build it in each package with the same compiler option I don't see a reason that can't be achieved.

@wjwwood

wjwwood commented Apr 7, 2017

Copy link
Copy Markdown

It would be good to know why @esteve did this, but if it is to work around some issue then maybe it's fine. I don't know of a reason that gtest or gmock needs to be built as an so.

@dirk-thomas

Copy link
Copy Markdown
Contributor

The CI builds look good so merging this. It would indeed be good to follow up on the shared library problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants