[Git][ghc/ghc][wip/T22010] Fix js-sources

Jaro Reinders (@Noughtmare) gitlab at gitlab.haskell.org
Fri Jun 23 10:06:51 UTC 2023



Jaro Reinders pushed to branch wip/T22010 at Glasgow Haskell Compiler / GHC


Commits:
076fc72a by Jaro Reinders at 2023-06-23T12:06:45+02:00
Fix js-sources

- - - - -


1 changed file:

- compiler/ghc.cabal.in


Changes:

=====================================
compiler/ghc.cabal.in
=====================================
@@ -156,13 +156,14 @@ Library
         -- as it's magic.
         GHC-Options: -this-unit-id ghc
 
-    c-sources:
+    if arch(javascript)
+      js-sources:
+        jsbits/genSym.js
+    else
+      c-sources:
         cbits/cutils.c
         cbits/genSym.c
         cbits/keepCAFsForGHCi.c
-    
-    js-sources:
-        jsbits/genSym.js
 
     hs-source-dirs:
         .



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/076fc72a1a3dae9d6eb7710dc1186f3c4c101e82

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/076fc72a1a3dae9d6eb7710dc1186f3c4c101e82
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230623/81bd6546/attachment.html>


More information about the ghc-commits mailing list