Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
ce1094ea
Commit
ce1094ea
authored
Apr 27, 2013
by
ian@well-typed.com
Browse files
Use -rpath flags on all Elf OSes, not just Linux
Patch from pgj; part of #7819.
parent
98430836
Changes
1
Hide whitespace changes
Inline
Side-by-side
rules/distdir-way-opts.mk
View file @
ce1094ea
...
...
@@ -125,7 +125,7 @@ $1_$2_$3_ALL_HC_OPTS = \
ifeq
"$3" "dyn"
ifneq
"$4" "0"
ifeq
"$$(Target
OS_CPP)" "linux
"
ifeq
"$$(Target
Elf)" "YES
"
$1_$2_$3_GHC_LD_OPTS
+=
\
-fno-use-rpaths
\
$
$(
foreach
d,
$$
(
$1_$2_TRANSITIVE_DEPS
)
,-optl-Wl
$
$(comma)
-rpath
-optl-Wl
$
$(comma)
'$$$$ORIGIN/../$$d'
)
-optl-Wl
,-z
-optl-Wl
,origin
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment