WriteMakefile( ... dynamic_lib => { OTHERLDFLAGS => "-Wl,-rpath,/your/lib/path" }, );