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
23f5080c
Commit
23f5080c
authored
Apr 28, 2013
by
ian@well-typed.com
Browse files
Add -L flags to libs.depend (fixes #7465)
Based on a patch from Peter Trommler
parent
4a55e819
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/ghc.mk
View file @
23f5080c
...
...
@@ -68,10 +68,12 @@ DTRACEPROBES_H = rts/dist/build/RtsProbes.h
rts_H_FILES
+=
$(DTRACEPROBES_H)
endif
# collect the -l flags that we need to link the rts dyn lib.
# collect the -l
and -L
flags that we need to link the rts dyn lib.
rts/libs.depend
:
$$(ghc-pkg_INPLACE)
"
$
(ghc-pkg_INPLACE)"
--simple-output
field rts extra-libraries
\
|
-e
's/\([a-z0-9]\+\)/-l\1/g'
>
$@
"
$
(ghc-pkg_INPLACE)"
--simple-output
field rts library-dirs
\
|
-e
's/\([a-z0-9]\+\)/-L\1/g'
>>
$@
# ----------------------------------------------------------------------------
...
...
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