   
   DSO_CFLAGS		= -fPIC
   DSO_LDOPTS		= -shared
-+ DSO_LDOPTS		+= -Wl,-rpath,\$$ORIGIN
++ DSO_LDOPTS		+= -Wl,-rpath,\$$ORIGIN:\$$ORIGIN/../ure-link/lib
   DSO_LDFLAGS		=
   
   # INCLUDES += -I/usr/include -Y/usr/include/linux

  	DSO_LDOPTS += -m64
  endif
  	DSO_LDOPTS += -shared -h $(notdir $@)
+     DSO_LDOPTS += -Wl,-rpath,\$$ORIGIN
  else
  ifeq ($(USE_64), 1)
  	ifeq ($(OS_TEST),i86pc)

+ # Shared library RUNPATH linker option(s)
+ #
+ ifeq ($(OS_ARCH),Linux)
+ EXTRA_DSO_LDOPTS += -Wl,-rpath,\$$ORIGIN:\$$ORIGIN/../ure-link/lib
+ ifdef IS_COMPONENT
+ EXTRA_DSO_LDOPTS += -Wl,-rpath,\$$ORIGIN/..:\$$ORIGIN/../../ure-link/lib
+ endif # IS_COMPONENT
+ endif # Linux
+ 
