From 84a9f4dcf2775ab2b8a3cccc680bd435ffae3e27 Mon Sep 17 00:00:00 2001 From: Manuel Reimer Date: Sat, 10 Nov 2018 12:34:07 +0100 Subject: Throw error while linking, for undefined symbols --- glcdgraphics/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glcdgraphics') diff --git a/glcdgraphics/Makefile b/glcdgraphics/Makefile index 98cbbbc..9d74477 100644 --- a/glcdgraphics/Makefile +++ b/glcdgraphics/Makefile @@ -64,7 +64,7 @@ endif all: $(LIBNAME) $(LIBNAME): $(OBJS) - $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(BASENAME).$(VERMAJOR)" -o $@ + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(BASENAME).$(VERMAJOR)" -Wl,--no-undefined -o $@ ln -sf $(LIBNAME) $(BASENAME) install: all -- cgit v1.2.3