disable dynamic linking of executables for better portability

This commit is contained in:
Jens Petersen 2018-10-05 17:58:58 +09:00
parent d190fa9b04
commit 7de08b499a
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -4,4 +4,6 @@
%_ghcdynlibdir %{_libdir}
%ghc_without_dynamic 1
%cabal_install_options -v