From d232ddde4235009953dae3a744479d5b2a259a2f Mon Sep 17 00:00:00 2001 From: Max Fierke Date: Mon, 14 Oct 2024 22:36:28 -0500 Subject: [PATCH] Order otool output for stability --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4c5c63a..8e87a31 100644 --- a/Makefile +++ b/Makefile @@ -161,7 +161,7 @@ check-formatting: $(SOURCES) .PHONY: check-libraries check-libraries: bin/mstrap - @if [ ! -z "$(STATIC)" ] && [ "$(TARGET_OS)" == "darwin" ] && [ "$$(otool -LX bin/mstrap | awk '{print $$1}')" != "$$(cat expected.libs.darwin)" ]; then \ + @if [ ! -z "$(STATIC)" ] && [ "$(TARGET_OS)" == "darwin" ] && [ "$$(otool -LX bin/mstrap | awk '{print $$1}' | sort)" != "$$(cat expected.libs.darwin)" ]; then \ echo "FAIL: bin/mstrap has non-allowed dynamic libraries"; \ exit 1; \ else \