Client ID in external secrets file
@@ -23,7 +23,8 @@ VOLLIBRESPOT_CARGO_ENV = \
CARGO_HOME=$(HOST_DIR)/share/cargo \
RUST_TARGET_PATH=$(HOST_DIR)/etc/rustc \
TARGET_CC=$(TARGET_CC) \
- CC=$(TARGET_CC)
+ CC=$(TARGET_CC) \
+ CLIENT_ID=$(SPOTIFY_CLIENT_ID)
VOLLIBRESPOT_CARGO_OPTS = \
--target=${RUSTC_TARGET_NAME} \
@@ -39,7 +40,8 @@ endif
VOLLIBRESPOT_CARGO_OPTS += --${VOLLIBRESPOT_CARGO_MODE} #--features ${VOLLIBRESPOT_CARGO_FEATURES}
define VOLLIBRESPOT_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(VOLLIBRESPOT_CARGO_ENV) \
+ echo $(SPOTIFY_CLIENT_ID)
+ $(TARGET_MAKE_ENV) $(VOLLIBRESPOT_CARGO_ENV) CLIENT_ID=$(SPOTIFY_CLIENT_ID) \
cargo build $(VOLLIBRESPOT_CARGO_OPTS)
endef
