WriteMakefile( ... dynamic_lib => { OTHERLDFLAGS => '-Wl,-rpath,/usr/local/dept/lib' }, ... );