Skip to content
Snippets Groups Projects
Commit 407b98f7 authored by Moritz Angermann's avatar Moritz Angermann Committed by Ben Gamari
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.

(cherry picked from commit b4550748)
parent 146ef07e
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,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