diff options
author | Manuel Reimer <manuel.reimer@gmx.de> | 2018-11-10 12:34:07 +0100 |
---|---|---|
committer | Manuel Reimer <manuel.reimer@gmx.de> | 2018-11-10 12:34:07 +0100 |
commit | 84a9f4dcf2775ab2b8a3cccc680bd435ffae3e27 (patch) | |
tree | 622eadf1a01ae7ecc2d011bd0febc9cc3fb5d2e2 | |
parent | 4d0ba8108e90d056d9fb5566102bca3adf65ff59 (diff) | |
download | graphlcd-base-84a9f4dcf2775ab2b8a3cccc680bd435ffae3e27.tar.gz graphlcd-base-84a9f4dcf2775ab2b8a3cccc680bd435ffae3e27.tar.bz2 |
Throw error while linking, for undefined symbols
-rw-r--r-- | glcddrivers/Makefile | 2 | ||||
-rw-r--r-- | glcdgraphics/Makefile | 2 | ||||
-rw-r--r-- | glcdskin/Makefile | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/glcddrivers/Makefile b/glcddrivers/Makefile index c70ad8e..4ac9c5b 100644 --- a/glcddrivers/Makefile +++ b/glcddrivers/Makefile @@ -79,7 +79,7 @@ DEPFILE = $(OBJS:%.o=%.d) all: $(LIBNAME) $(LIBNAME): $(OBJS) - $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -ldl -lpthread -Wl,-soname="$(BASENAME).$(VERMAJOR)" -o $@ + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -ldl -lpthread -Wl,-soname="$(BASENAME).$(VERMAJOR)" -Wl,--no-undefined -o $@ ln -sf $(LIBNAME) $(BASENAME) install: all 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 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 |