forked from wrenn/wrenn
Updated static link check for envd
This commit is contained in:
2
Makefile
2
Makefile
@ -27,7 +27,7 @@ build-agent:
|
|||||||
build-envd:
|
build-envd:
|
||||||
cd envd-rs && ENVD_COMMIT=$(COMMIT) cargo build --release --target x86_64-unknown-linux-musl
|
cd envd-rs && ENVD_COMMIT=$(COMMIT) cargo build --release --target x86_64-unknown-linux-musl
|
||||||
@cp envd-rs/target/x86_64-unknown-linux-musl/release/envd $(BIN_DIR)/envd
|
@cp envd-rs/target/x86_64-unknown-linux-musl/release/envd $(BIN_DIR)/envd
|
||||||
@file $(BIN_DIR)/envd | grep -q "statically linked" || \
|
@file $(BIN_DIR)/envd | grep -q "static-pie linked" || \
|
||||||
(echo "ERROR: envd is not statically linked!" && exit 1)
|
(echo "ERROR: envd is not statically linked!" && exit 1)
|
||||||
|
|
||||||
# ═══════════════════════════════════════════════════
|
# ═══════════════════════════════════════════════════
|
||||||
|
|||||||
Reference in New Issue
Block a user