mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +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:
4
external/Makefile
vendored
4
external/Makefile
vendored
@@ -7,9 +7,9 @@ SUBMODULES = \
|
||||
TOP := ../..
|
||||
ifdef BUILD
|
||||
CROSSCOMPILE_OPTS := --host="$(MAKE_HOST)" --build="$(BUILD)"
|
||||
TARGET_DIR := external/"$(MAKE_HOST)"
|
||||
TARGET_DIR := external/$(MAKE_HOST)
|
||||
else
|
||||
TARGET_DIR := external/"$(shell ${CC} -dumpmachine)"
|
||||
TARGET_DIR := external/$(shell ${CC} -dumpmachine)
|
||||
endif
|
||||
|
||||
LIBSODIUM_HEADERS := external/libsodium/src/libsodium/include/sodium.h
|
||||
|
||||
Reference in New Issue
Block a user