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 --- glcdskin/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glcdskin') diff --git a/glcdskin/Makefile b/glcdskin/Makefile index d80ffea..ec63d30 100644 --- a/glcdskin/Makefile +++ b/glcdskin/Makefile @@ -43,7 +43,7 @@ DEPFILE = $(OBJS:%.o=%.d) 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