Skip to content
Snippets Groups Projects
Commit b4550748 authored by Moritz Angermann's avatar Moritz Angermann
Browse files

ghc-prim needs to depend on libc and libm

libm is just an empty shell on musl, and all the math functions are contained in
libc.
parent ad44b504
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,11 @@ Library
-- on Windows. Required because of mingw32.
extra-libraries: user32, mingw32, mingwex
if os(linux)
-- we need libm, but for musl and other's we might need libc, as libm
-- is just an empty shell.
extra-libraries: c, m
c-sources:
cbits/atomic.c
cbits/bswap.c
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment