Make -dynload sysdep mean to embed rpaths in shared libs as well as binaries
authorDuncan Coutts <duncan@well-typed.com>
Tue, 19 May 2009 12:05:33 +0000 (12:05 +0000)
committerDuncan Coutts <duncan@well-typed.com>
Tue, 19 May 2009 12:05:33 +0000 (12:05 +0000)
commit527f52a72acf214994921ad36de92f934e9632da
treed6bf83791079da854af3b723963afbf2decb1029
parent88605454e4bf30d7fca2b0eea4643c5637afd5cc
Make -dynload sysdep mean to embed rpaths in shared libs as well as binaries
Previously it only did it for binaries. This was presumably on the
theory that the binary could specify the rpath for all the libs.
However when it is the shared lib that is the final product (ie to
link into a bigger project) then we need the rpaths for the shared
lib to be self-contianed.
compiler/main/DriverPipeline.hs