From 779a5eea6b491d648c1ce654290a7aa86076701c Mon Sep 17 00:00:00 2001 From: Nick Chan Date: Sat, 21 Jan 2023 18:48:37 +0800 Subject: [PATCH] make stuff *actually* static --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0b57051..3830bd7 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ CFLAGS += -mmacosx-version-min=10.8 LIBS += $(DEP)/lib/libcrypto.35.tbd $(DEP)/lib/libssl.35.tbd $(DEP)/lib/libusb-1.0.a LIBS += -framework CoreFoundation -framework SystemConfiguration -framework IOKit -framework Security else -LDFLAGS += -static -fuse-ld=lld +LDFLAGS += -static -fuse-ld=lld -no-pie LIBS += $(DEP)/lib/libcrypto.a $(DEP)/lib/libssl.a endif LIBS += $(DEP)/lib/libusb-1.0.a