link Setup statically to workaround gi-gobject dynlinking

This commit is contained in:
Jens Petersen 2020-07-17 15:53:39 +08:00
parent aed9cf7607
commit c994c2ed2f

View File

@ -99,6 +99,10 @@ chmod a-x ChangeLog.md README.md
%build
# Begin cabal-rpm build:
%ghc_libs_build %{subpkgs}
# Linking Setup ...
# /usr/lib64/libHSgi-gobject-2.0.23-HoBseCvMOu36DMtXiJmMXL-ghc8.8.4.so: error: undefined reference to 'g_param_spec_uref'
# /usr/lib64/libHSgi-gobject-2.0.23-HoBseCvMOu36DMtXiJmMXL-ghc8.8.4.so: error: undefined reference to 'intern'
%define ghc_static_setup 1
%ghc_lib_build
# End cabal-rpm build