Browse Source

configure.ac must not include cryptoconditions in AC_CONFIG_SUBDIRS because that disables shared linking. cryptoconditions must not include config.h because that includes conflicting variables.

pull/4/head
Scott Sadler 7 years ago
parent
commit
a032ddea1f
  1. 2
      configure.ac
  2. 3
      src/Makefile.am

2
configure.ac

@ -996,7 +996,7 @@ unset PKG_CONFIG_LIBDIR
PKG_CONFIG_LIBDIR="$PKGCONFIG_LIBDIR_TEMP"
ac_configure_args="${ac_configure_args} --disable-shared --with-pic --with-bignum=no"
AC_CONFIG_SUBDIRS([src/secp256k1 src/univalue src/cryptoconditions])
AC_CONFIG_SUBDIRS([src/secp256k1 src/univalue])
AC_OUTPUT

3
src/Makefile.am

@ -515,7 +515,8 @@ endif
libzcashconsensus_la_LDFLAGS = -no-undefined $(RELDFLAGS)
libzcashconsensus_la_LIBADD = $(CRYPTO_LIBS)
libzcashconsensus_la_CPPFLAGS = $(CRYPTO_CFLAGS) -I$(builddir)/obj -DBUILD_BITCOIN_INTERNAL \
-I$(builddir)/cryptoconditions/src/asn
-I$(builddir)/cryptoconditions/src/asn \
-I$(builddir)/cryptoconditions/src
endif
#

Loading…
Cancel
Save