summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-11-29 19:41:45 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-12-01 03:12:21 -0500
commitbffd407410e00935f0098dbfda3bc2b402a36e04 (patch)
tree96b8ef05f0700229869323a23f25984d4beea532
parentc2f6cbef77203b7698f6484719ed9902f905496c (diff)
downloadhaskell-bffd407410e00935f0098dbfda3bc2b402a36e04.tar.gz
rts.cabal.in: Move `extra-source-files` so it is valid
-rw-r--r--rts/rts.cabal.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/rts/rts.cabal.in b/rts/rts.cabal.in
index b8500d6ef4..11ee9229ae 100644
--- a/rts/rts.cabal.in
+++ b/rts/rts.cabal.in
@@ -4,6 +4,11 @@ version: 1.0.2
license: BSD-3-Clause
maintainer: glasgow-haskell-users@haskell.org
build-type: Simple
+
+extra-source-files:
+ -- This file needs to be in the package but shouldn't be compiled on its own.
+ xxhash.c
+
flag libm
default: @CabalHaveLibm@
flag librt
@@ -571,10 +576,6 @@ library
-- I wish we had wildcards..., this would be:
-- *.c hooks/**/*.c sm/**/*.c eventlog/**/*.c linker/**/*.c
- extra-source-files:
- -- This file needs to be in the package but shouldn't be compiled on its own.
- xxhash.c
-
if os(windows)
c-sources: win32/AsyncMIO.c
win32/AsyncWinIO.c