From 6532cb23eab9bf09531132f01e92b81a58d42330 Mon Sep 17 00:00:00 2001 From: zhangyi Date: Fri, 22 Dec 2023 21:21:21 +0800 Subject: [PATCH] statically linked when build jattach and fdtransfer --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index e26eb435a..544655951 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,7 @@ ifeq ($(OS),Darwin) MERGE=false endif else + CFLAGS += -static CXXFLAGS += -Wl,-z,defs ifeq ($(MERGE),true) CXXFLAGS += -fwhole-program