Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn libfrontend.a into a libtool library #244

Conversation

sethfowler
Copy link
Contributor

This PR contains the portion of #239 that involves converting libfrontend into a libtool library; see that PR for the motivation.

The version of this patch in #239 was cherry-picked and then backed out because it resulted in libfrontend being generated as a dynamic library. It turns out that this is the default behavior for libtool libraries which are installed - that is, this is what happens by default if you use lib_LTLIBRARIES. Since this is a convenience library which is only intended to be linked into other libraries or executables, we don't want to install it, and noinst_LTLIBRARIES is a better fit. What's nice is that noinst_LTLIBRARIES also defaults to generating a static library, so this kills two birds with one stone.

@sethfowler sethfowler self-assigned this Jan 19, 2017
@sethfowler
Copy link
Contributor Author

I added a second commit to clarify the comments in the top-level Makefile.am a little based upon the discussion with @mbudiu-vmw here:

#239 (comment)

@ChrisDodd
Copy link
Contributor

merged as 8f8b1f4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants