commit 38c59cda322dbdfbfb63499143a77cda8c78cb6b parent 0ed024dbcc6dc446bff167a2c718946871ba4748 Author: Nihal Jere <nihal@nihaljere.xyz> Date: Thu, 7 Oct 2021 17:34:07 -0500 Makefile: don't hardcode -static Diffstat:
M | Makefile | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile @@ -10,13 +10,13 @@ NPM_CORE = "npm-core" all: npm-core npm-agent npmc npm-core: $(LIBS) npm-core.o monocypher.o - $(CC) -static npm-core.o monocypher.o -o $@ + $(CC) $(LDFLAGS) npm-core.o monocypher.o -o $@ npm-agent: npm-agent.o - $(CC) -static npm-agent.o -o $@ + $(CC) $(LDFLAGS) npm-agent.o -o $@ npmc: npmc.o - $(CC) -static npmc.o -o $@ + $(CC) $(LDFLAGS) npmc.o -o $@ npm-agent.o: npm-agent.c $(CC) '-DNPM_CORE=$(NPM_CORE)' $(CFLAGS) -c $< -o $@