   endif
   
 + ifeq ($(OS_ARCH),Linux)
-+ MKSHLIB += -Wl,-rpath,\$$ORIGIN
++ MKSHLIB += -Wl,-rpath,\$$ORIGIN:\$$ORIGIN/../ure-link/lib
 + endif
 + 
   ifeq ($(OS_ARCH),SunOS)

  GARBAGE += $(MAPFILE)
  ifdef NS_USE_GCC
  ifdef GCC_USE_GNU_LD
! MKSHLIB += -Wl,--version-script,$(MAPFILE) -Wl,-rpath,\$$ORIGIN
  else
! MKSHLIB += -Wl,-M,$(MAPFILE) -Wl,-R,'$$ORIGIN'
  endif

  GARBAGE += $(MAPFILE)
  ifdef NS_USE_GCC
  ifdef GCC_USE_GNU_LD
! MKSHLIB += -Wl,--version-script,$(MAPFILE) -Wl,-rpath,\$$ORIGIN:\$$ORIGIN/../ure-link/lib
  else
! MKSHLIB += -Wl,-M,$(MAPFILE) -Wl,-R,'$$ORIGIN'
  endif
