Skip to content

Commit c38e4c8

Browse files
committed
Always bundle include files
We just skip compiling it. Yes, this is horrible, but what can you do.
1 parent 3457861 commit c38e4c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

unix-compat.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ Library
6969

7070
else
7171
build-depends: unix >= 2.7.2.0 && < 2.9
72+
include-dirs: include
73+
includes: HsUnixCompat.h
74+
install-includes: HsUnixCompat.h
7275
if !arch(wasm32)
73-
include-dirs: include
74-
includes: HsUnixCompat.h
75-
install-includes: HsUnixCompat.h
76-
c-sources: cbits/HsUnixCompat.c
76+
c-sources: cbits/HsUnixCompat.c
7777
if os(solaris)
7878
cc-options: -DSOLARIS
7979

0 commit comments

Comments
 (0)