From fd35e56c2e78d7a2c35a8087cdcadb31b6b9b047 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Mon, 8 Aug 2016 15:50:07 +0200 Subject: [PATCH] to include lib path into the run path --- Makefile.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.include b/Makefile.include index b12d1e6c4..d223a7ce3 100755 --- a/Makefile.include +++ b/Makefile.include @@ -5,8 +5,8 @@ CC = g++ CXX = $(CC) ASM=$(shell echo "/lib/modules/`uname -r`/build/include") -LDFLAGDET = -L$(LIBDIR) -lSlsDetector -L/usr/lib64/ -lpthread -LDFLAGRXR = -L$(LIBDIR) -lSlsReceiver -L/usr/lib64/ -lpthread +LDFLAGDET = -L$(LIBDIR) -Wl,-rpath=$(LIBDIR) -lSlsDetector -L/usr/lib64/ -lpthread +LDFLAGRXR = -L$(LIBDIR) -Wl,-rpath=$(LIBDIR) -lSlsReceiver -L/usr/lib64/ -lpthread FLAGS= -Wall #-DEIGER_DEBUG2 -DEIGER_DEBUG -DEIGER_DEBUG3 #-DFIFO_DEBUG # -DVERBOSE