disable dynamic linking of executables for better portability

epel9
Jens Petersen 6 years ago
parent d190fa9b04
commit 7de08b499a

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

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

Loading…
Cancel
Save