Commit 4a55e819 authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

Tidy up some build system code

parent 7a310c7b
......@@ -70,8 +70,8 @@ endif
# collect the -l flags that we need to link the rts dyn lib.
rts/libs.depend : $$(ghc-pkg_INPLACE)
"$(ghc-pkg_INPLACE)" field rts extra-libraries \
| sed -e 's/^extra-libraries: //' -e 's/\([a-z0-9]*\)[ ]*/-l\1 /g' > $@
"$(ghc-pkg_INPLACE)" --simple-output field rts extra-libraries \
| -e 's/\([a-z0-9]\+\)/-l\1/g' > $@
# ----------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment