mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 18:57:06 +01:00
external/Makefile: Initialize/update libwally-core submodule.
This commit is contained in:
parent
a6e2e46b54
commit
e624046c74
1 changed files with 4 additions and 0 deletions
4
external/Makefile
vendored
4
external/Makefile
vendored
|
@ -31,6 +31,10 @@ external/libsodium/src/libsodium/include/sodium.h:
|
||||||
external/libsodium/src/libsodium/libsodium.la: 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)
|
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.
|
# 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
|
# 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
|
external/libsecp256k1.% external/libwallycore.%: external/libwally-core/src/secp256k1/libsecp256k1.la external/libwally-core/src/libwallycore.la
|
||||||
|
|
Loading…
Add table
Reference in a new issue