[PATCH] ibsim/Makefile: Add install rpath to linker

Ilya Nelkenbaum
2016-10-27T13:55:31Z

From: Ilya Nelkenbaum <ilyan-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

Signed-off-by: Ilya Nelkenbaum <ilyan-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
ibsim/Makefile | 2 ++
1 file changed, 2 insertions(+)

diff --git a/ibsim/Makefile b/ibsim/Makefile
index 5d1ac62..ad94651 100644
--- a/ibsim/Makefile
+++ b/ibsim/Makefile
@@ -1,5 +1,7 @@
progs:=ibsim

+ibsim_LDFLAGS = "-Wl,-rpath,\$$ORIGIN/../lib"
+
-include ../defs.mk

all: $(progs)
--
1.8.3.1