Set the soname when creating a shared lib
authorDuncan Coutts <duncan@well-typed.com>
Fri, 15 May 2009 20:37:30 +0000 (20:37 +0000)
committerDuncan Coutts <duncan@well-typed.com>
Fri, 15 May 2009 20:37:30 +0000 (20:37 +0000)
commit6efacfe8bcbe66dfc3b52397ccbd34a58890520d
tree8524c03d0b4fe2b68651b9cc716d7ea3fe724d42
parentfa00cc50ecd1aa292657720b7594b7bdb82c970c
Set the soname when creating a shared lib
It's still possible to override it, just use -optl-Wl,-soname, eg:
ghc -shared -dynamic foo.o -o libfoo.so -optl-Wl,-soname,libbar.so
compiler/main/DriverPipeline.hs