projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1796b5
)
Use -h rather than -soname; fixes dynlibs on Solaris 10; trac #4973
author
Ian Lynagh
<igloo@earth.li>
Tue, 22 Feb 2011 15:26:56 +0000
(15:26 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Tue, 22 Feb 2011 15:26:56 +0000
(15:26 +0000)
compiler/main/DriverPipeline.hs
patch
|
blob
|
history
diff --git
a/compiler/main/DriverPipeline.hs
b/compiler/main/DriverPipeline.hs
index
8bd4c6c
..
97ee683
100644
(file)
--- a/
compiler/main/DriverPipeline.hs
+++ b/
compiler/main/DriverPipeline.hs
@@
-1771,7
+1771,9
@@
linkDynLib dflags o_files dep_packages = do
++ o_files
++ [ "-shared" ]
++ bsymbolicFlag
- ++ [ "-Wl,-soname," ++ takeFileName output_fn ] -- set the library soname
+ -- Set the library soname. We use -h rather than -soname as
+ -- Solaris 10 doesn't support the latter:
+ ++ [ "-Wl,-h," ++ takeFileName output_fn ]
++ extra_ld_inputs
++ lib_path_opts
++ extra_ld_opts