Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tom Bradshaw
crown-core
Commits
eef747bb
Commit
eef747bb
authored
10 years ago
by
Luke Dashjr
Browse files
Options
Download
Email Patches
Plain Diff
libbitcoinconsensus: Add pkg-config support
parent
5c4dffd1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile.am
+5
-0
Makefile.am
configure.ac
+1
-0
configure.ac
libbitcoinconsensus.pc.in
+11
-0
libbitcoinconsensus.pc.in
with
17 additions
and
0 deletions
+17
-0
Makefile.am
View file @
eef747bb
...
...
@@ -4,6 +4,11 @@ SUBDIRS = src
GZIP_ENV
=
"-9n"
if
BUILD_BITCOIN_LIBS
pkgconfigdir
=
$(libdir)
/pkgconfig
pkgconfig_DATA
=
libbitcoinconsensus.pc
endif
BITCOIND_BIN
=
$(top_builddir)
/src/bitcoind
$(EXEEXT)
BITCOIN_QT_BIN
=
$(top_builddir)
/src/qt/bitcoin-qt
$(EXEEXT)
BITCOIN_CLI_BIN
=
$(top_builddir)
/src/bitcoin-cli
$(EXEEXT)
...
...
This diff is collapsed.
Click to expand it.
configure.ac
View file @
eef747bb
...
...
@@ -680,6 +680,7 @@ AC_MSG_CHECKING([whether to build libraries])
AM_CONDITIONAL([BUILD_BITCOIN_LIBS], [test x$build_bitcoin_libs = xyes])
if test x$build_bitcoin_libs = xyes; then
AC_DEFINE(HAVE_CONSENSUS_LIB, 1, [Define this symbol if the consensus lib has been built])
AC_CONFIG_FILES([libbitcoinconsensus.pc:libbitcoinconsensus.pc.in])
fi
AC_MSG_RESULT($build_bitcoin_libs)
...
...
This diff is collapsed.
Click to expand it.
libbitcoinconsensus.pc.in
0 → 100644
View file @
eef747bb
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: Bitcoin Core consensus library
Description: Library for the Bitcoin consensus protocol.
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lbitcoinconsensus
Cflags: -I${includedir}
Requires.private: libcrypto
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help