Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
ffe09dea
Commit
ffe09dea
authored
May 08, 2010
by
pho@cielonegro.org
Browse files
Correct install-name for dynamic Darwin rts
parent
7dd83c4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/ghc.mk
View file @
ffe09dea
...
...
@@ -167,15 +167,15 @@ $$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(ALL_RTS_DEF_LIBS) rts/libs.depend
"
$
$(RM)
"
$
$(RM_OPTS)
$$
@
"
$
$(rts_dist_HC)
"
-package-name
rts
-shared
-dynamic
-dynload
deploy
\
-no-auto-link-packages
`
cat
rts/libs.depend
`
$$
(
rts_
$1_OBJS
)
$
$(ALL_RTS_DEF_LIBS)
-o
$$
@
ifeq
"$$(darwin_TARGET_OS)" "1"
# Ensure library's install name is correct before anyone links with it.
install_name_tool
-id
$(ghclibdir)
/
$$
(
rts_
$1_LIB_NAME
)
$$
@
endif
else
$$(rts_$1_LIB)
:
$$(rts_$1_OBJS) rts/libs.depend
"
$
$(RM)
"
$
$(RM_OPTS)
$$
@
"
$
$(rts_dist_HC)
"
-package-name
rts
-shared
-dynamic
-dynload
deploy
\
-no-auto-link-packages
`
cat
rts/libs.depend
`
$$
(
rts_
$1_OBJS
)
-o
$$
@
ifeq
"$$(darwin_TARGET_OS)" "1"
# Ensure library's install name is correct before anyone links with it.
install_name_tool
-id
$(ghclibdir)
/
$$
(
rts_
$1_LIB_NAME
)
$$
@
endif
endif
else
$$(rts_$1_LIB)
:
$$(rts_$1_OBJS)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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