diff --git a/macros.ghc b/macros.ghc index e67ba38..1a48dfc 100644 --- a/macros.ghc +++ b/macros.ghc @@ -2,7 +2,7 @@ # see https://fedoraproject.org/wiki/Packaging:Haskell for more details # "cabal" -%cabal [ -x Setup ] || ghc --make %{!?ghc_user_conf:-no-user-package-db} %{!?ghc_without_dynamic:-dynamic} Setup\ +%cabal [ -x Setup ] || ghc --make %{!?ghc_user_conf:-no-user-package-db} %{!?ghc_static_setup:-dynamic} Setup\ LANG=en_US.utf8\ ./Setup diff --git a/macros.ghc-os b/macros.ghc-os index e6ac90c..cdab44c 100644 --- a/macros.ghc-os +++ b/macros.ghc-os @@ -4,4 +4,6 @@ %_ghcdynlibdir %{_libdir} +%ghc_without_dynamic 1 + %cabal_install_options -v