Skip to content

Commit

Permalink
external/Makefile: Initialize/update libwally-core submodule.
Browse files Browse the repository at this point in the history
  • Loading branch information
dongcarl authored and rustyrussell committed Jan 29, 2018
1 parent a6e2e46 commit e624046
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions external/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ external/libsodium/src/libsodium/include/sodium.h:
external/libsodium/src/libsodium/libsodium.la: external/libsodium/src/libsodium/include/sodium.h
cd external/libsodium && ./autogen.sh && ./configure CC="$(CC)" --enable-static=yes --enable-shared=no --enable-tests=no --libdir=`pwd`/.. && $(MAKE)

$(LIBWALLY_HEADERS) $(LIBSECP_HEADERS):
git submodule update external/libwally-core
[ -f $@ ] || git submodule update --init external/libwally-core

# libsecp included in libwally.
# Wildcards here are magic. See http://stackoverflow.com/questions/2973445/gnu-makefile-rule-generating-a-few-targets-from-a-single-source-file
external/libsecp256k1.% external/libwallycore.%: external/libwally-core/src/secp256k1/libsecp256k1.la external/libwally-core/src/libwallycore.la
Expand Down

0 comments on commit e624046

Please sign in to comment.