diff --git a/src/makefiles/Makefile.linux b/src/makefiles/Makefile.linux
index 21df0c8a23a93b343b78db32459aebb1229af1e7..528423701c00ae9da250b9eb7d0a9f9297df5ed6 100644
--- a/src/makefiles/Makefile.linux
+++ b/src/makefiles/Makefile.linux
@@ -1,5 +1,5 @@
 ifdef LINUX_ELF
-LDFLAGS+= -rdynamic
+LDFLAGS+= -rdynamic -Wl,-rpath -Wl,$(DESTDIR)$(LIBDIR)
 endif
 MK_NO_LORDER= true