Skip to content

Commit 2467af8

Browse files
committed
Generalize package config generation.
1 parent 13d5e1c commit 2467af8

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,5 +242,5 @@ AS_CASE([${CC}], [*gcc*],
242242

243243
# Process outputs into templates.
244244
#==============================================================================
245-
AC_CONFIG_FILES([Makefile libbitcoin-server.pc ])
245+
AC_CONFIG_FILES([Makefile libbitcoin-server.pc])
246246
AC_OUTPUT

libbitcoin-server.pc.in

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,32 @@
55
#
66
###############################################################################
77

8+
# Substitutions
9+
#==============================================================================
810
prefix=@prefix@
911
exec_prefix=@exec_prefix@
1012
libdir=@libdir@
1113
includedir=@includedir@
1214

15+
16+
# Metadata
17+
#==============================================================================
1318
Name: libbitcoin-server
1419
Description: Bitcoin Full Node and Query Server
1520
URL: https://github.com/libbitcoin/libbitcoin-server
1621
Version: @PACKAGE_VERSION@
1722

18-
# Our dependencies that publish package configuration.
19-
Requires: @sodium_PKG@ @czmq___PKG@ @bitcoin_node_PKG@
2023

21-
# Our own include directory and any other compiler flags we require.
22-
Cflags: -I${includedir}
24+
# Variables
25+
#==============================================================================
26+
# Dependencies that publish package configuration.
27+
#------------------------------------------------------------------------------
28+
29+
# Include directory and any other required compiler flags.
30+
#------------------------------------------------------------------------------
31+
Cflags: -I${includedir}
32+
33+
# Lib directory, lib and any required that do not publish pkg-config.
34+
#------------------------------------------------------------------------------
35+
Libs: -L${libdir}
2336

24-
# Our own lib directory, lib and any that do not publish package configuration.
25-
Libs: -L${libdir}

0 commit comments

Comments
 (0)