[Git][ghc/ghc][wip/js-staging] Fix rts.cabal.in again

Sylvain Henry (@hsyl20) gitlab at gitlab.haskell.org
Wed Oct 19 13:53:07 UTC 2022



Sylvain Henry pushed to branch wip/js-staging at Glasgow Haskell Compiler / GHC


Commits:
d138d87c by Sylvain Henry at 2022-10-19T15:56:40+02:00
Fix rts.cabal.in again

- - - - -


1 changed file:

- rts/rts.cabal.in


Changes:

=====================================
rts/rts.cabal.in
=====================================
@@ -127,6 +127,8 @@ library
       -- using Cabal.
       if flag(threaded)
         extra-library-flavours: _thr
+        if flag(dynamic)
+          extra-dynamic-library-flavours: _thr
 
       if flag(profiling)
         extra-library-flavours: _p
@@ -136,12 +138,15 @@ library
           extra-library-flavours: _debug_p
           if flag(threaded)
             extra-library-flavours: _thr_debug_p
+
       if flag(debug)
         extra-library-flavours: _debug
+        if flag(dynamic)
+          extra-dynamic-library-flavours: _debug
         if flag(threaded)
           extra-library-flavours: _thr_debug
-      if flag(dynamic) && flag(threaded)
-        extra-dynamic-library-flavours: _thr
+          if flag(dynamic)
+            extra-dynamic-library-flavours: _thr_debug
 
       if flag(thread-sanitizer)
         cc-options: -fsanitize=thread



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d138d87cb98445644918a87ae97b25774f161fbe
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/20221019/df22871a/attachment-0001.html>


More information about the ghc-commits mailing list