mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
external/Makefile: fix spurious rebuilds.
Quote marks are not special to make: as it can't find external/"x86_64-linux-gnu"/libwally-core-build/src/libwallycore.la it always insists on rebuilding it (which rebuilds the world). If we have spaces in TARGET_DIR, we're in trouble already. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-None
This commit is contained in:
parent
32f9805a30
commit
57f6f74ee0
4
external/Makefile
vendored
4
external/Makefile
vendored
@ -7,9 +7,9 @@ SUBMODULES = \
|
|||||||
TOP := ../..
|
TOP := ../..
|
||||||
ifdef BUILD
|
ifdef BUILD
|
||||||
CROSSCOMPILE_OPTS := --host="$(MAKE_HOST)" --build="$(BUILD)"
|
CROSSCOMPILE_OPTS := --host="$(MAKE_HOST)" --build="$(BUILD)"
|
||||||
TARGET_DIR := external/"$(MAKE_HOST)"
|
TARGET_DIR := external/$(MAKE_HOST)
|
||||||
else
|
else
|
||||||
TARGET_DIR := external/"$(shell ${CC} -dumpmachine)"
|
TARGET_DIR := external/$(shell ${CC} -dumpmachine)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIBSODIUM_HEADERS := external/libsodium/src/libsodium/include/sodium.h
|
LIBSODIUM_HEADERS := external/libsodium/src/libsodium/include/sodium.h
|
||||||
|
Loading…
Reference in New Issue
Block a user