From cd3ed326f5ffd8934bbbe1ee6d754aeb44a8fba0 Mon Sep 17 00:00:00 2001 From: Kjetil Hvalstrand Date: Tue, 5 Dec 2017 23:17:22 +0100 Subject: [PATCH] Needs static to work, -lz is not included else. Needs --static to work, -lz is not included else. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 34443f3..d4c18ff 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CXX ?= g++ LIBPNG_CONFIG ?= libpng-config -LDFLAGS += $(shell $(LIBPNG_CONFIG) --cflags --ldflags) +LDFLAGS += $(shell $(LIBPNG_CONFIG) --static --cflags --ldflags) all: amosbank