diff --git a/Makefile.include b/Makefile.include
index 525f86fd68287e773dd240d53f55fb3041b56704..3efbdb4dd4a345414d41ee5af961ca1a28158369 100644
--- a/Makefile.include
+++ b/Makefile.include
@@ -192,6 +192,7 @@ endif
 # the binaries to link
 BASELIBS += $(BINDIR)${APPLICATION}.a
 BASELIBS += $(USEPKG:%=${BINDIR}%.a)
+BASELIBS += $(APPDEPS)
 
 .PHONY: all clean flash term doc debug debug-server reset objdump help info-modules
 .PHONY: ..in-docker-container