--- a/SConstruct +++ b/SConstruct @@ -269,8 +269,6 @@ def installdir(dir, add_destdir=True): # Honor the specified installation prefix in link paths. env.Prepend(LIBPATH=[installdir('libdir')]) -if env["shared"]: - env.Prepend(RPATH=[installdir('libdir')]) # Give deheader a way to set compiler flags if 'MORECFLAGS' in os.environ: