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

Install headers automatically #620

Merged
merged 1 commit into from
May 23, 2019

Conversation

vmayoral
Copy link
Contributor

@vmayoral vmayoral commented May 15, 2019

This fix install all the headers under include/ into
/usr/local/include. The fix solves problems that arise
when building libraries that depend on secp256k1 such
as libbitcoin-system which require all the headers

This fix install all the headers under include/ into
/usr/local/include. The fix solves problems that arise
when building libraries that depend on secp256k1 such
as bitcoin-system which require all the headers
@gmaxwell
Copy link
Contributor

ACK. This seems right to me, and I don't see any harm in installing headers for disabled modules.

@gmaxwell gmaxwell merged commit 16e8615 into bitcoin-core:master May 23, 2019
gmaxwell added a commit that referenced this pull request May 23, 2019
16e8615 Install headers automatically (Víctor Mayoral Vilches)

Pull request description:

  This fix install all the headers under include/ into
  /usr/local/include. The fix solves problems that arise
  when building libraries that depend on secp256k1 such
  as libbitcoin-system which require all the headers

Tree-SHA512: 8a5dc664b278e47340bf7478ad278306c44c4c8ad17a023b198c6a927c67c7a7a50100357388342129078afdf7606d2ed06579ce1fc14195fa974510b933021b
@real-or-random
Copy link
Contributor

It's no real harm but won't users be confused when there are headers installed that actually won't work? I think it's better to install the headers depending on whether the modules are enables. I can create a PR if you agree.

doitian added a commit to doitian/secp256k1 that referenced this pull request May 24, 2019
This reverts commit 91fae3a, reversing
changes made to 5df77a0.

See discussion in bitcoin-core#625

After the change, if we enable any module, `make install` fails because of the
duplicated files in the command line arguments.
gmaxwell added a commit that referenced this pull request May 24, 2019
662918c Revert "Merge #620: Install headers automatically" (ian)

Pull request description:

  This reverts commit 91fae3a, reversing
  changes made to 5df77a0.

  See discussion in #625

  After the change, if we enable any module, `make install` fails because of the
  duplicated files in the command line arguments.

  Closes #624

Tree-SHA512: 7769ede527ac307bff094603e5974c56b19e41bc2ef55113173d3dbc8e545d6add7ae044753fa0361595e5e7a746d6c8d641f98caa3381b683aa2b61a1742097
@gmaxwell
Copy link
Contributor

Apparently we already were. :)

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