Fix library installation; fixes #3374 When configuring packages, enable library profiling and shared libraries based on the ways in GhcLibWays.
Fix library installation; fixes #3374
When configuring packages, enable library profiling and shared libraries
based on the ways in GhcLibWays.

nomeata/ghc,urbanslug/ghc,nkaretnikov/ghc,snoyberg/ghc,elieux/ghc,mcschroeder/ghc,nomeata/ghc,hferreiro/replay,oldmanmike/ghc,nathyong/microghc-ghc,AlexanderPankiv/ghc,fmthoma/ghc,mettekou/ghc,sgillespie/ghc,sdiehl/ghc,jstolarek/ghc,ezyang/ghc,olsner/ghc,hferreiro/replay,ryantm/ghc,AlexanderPankiv/ghc,frantisekfarka/ghc-dsi,holzensp/ghc,fmthoma/ghc,mettekou/ghc,TomMD/ghc,lukexi/ghc-7.8-arm64,snoyberg/ghc,shlevy/ghc,tjakway/ghcjvm,gcampax/ghc,christiaanb/ghc,oldmanmike/ghc,acowley/ghc,oldmanmike/ghc,tjakway/ghcjvm,snoyberg/ghc,sgillespie/ghc,da-x/ghc,nomeata/ghc,snoyberg/ghc,AlexanderPankiv/ghc,nathyong/microghc-ghc,sdiehl/ghc,christiaanb/ghc,urbanslug/ghc,sdiehl/ghc,spacekitteh/smcghc,jstolarek/ghc,urbanslug/ghc,tibbe/ghc,spacekitteh/smcghc,snoyberg/ghc,anton-dessiatov/ghc,ekmett/ghc,sgillespie/ghc,hferreiro/replay,ryantm/ghc,lukexi/ghc-7.8-arm64,nomeata/ghc,sdiehl/ghc,christiaanb/ghc,tibbe/ghc,wxwxwwxxx/ghc,ezyang/ghc,nkaretnikov/ghc,nushio3/ghc,mcmaniac/ghc,green-haskell/ghc,green-haskell/ghc,tibbe/ghc,olsner/ghc,wxwxwwxxx/ghc,forked-upstream-packages-for-ghcjs/ghc,mcschroeder/ghc,mettekou/ghc,bitemyapp/ghc,vikraman/ghc,ilyasergey/GHC-XAppFix,vTurbine/ghc,elieux/ghc,wxwxwwxxx/ghc,nushio3/ghc,tjakway/ghcjvm,olsner/ghc,gridaphobe/ghc,ml9951/ghc,nathyong/microghc-ghc,gcampax/ghc,siddhanathan/ghc,spacekitteh/smcghc,holzensp/ghc,mcmaniac/ghc,sgillespie/ghc,sgillespie/ghc,da-x/ghc,gridaphobe/ghc,tjakway/ghcjvm,nkaretnikov/ghc,forked-upstream-packages-for-ghcjs/ghc,siddhanathan/ghc,anton-dessiatov/ghc,elieux/ghc,mcschroeder/ghc,ekmett/ghc,anton-dessiatov/ghc,ryantm/ghc,forked-upstream-packages-for-ghcjs/ghc,tjakway/ghcjvm,urbanslug/ghc,ghc-android/ghc,siddhanathan/ghc,anton-dessiatov/ghc,AlexanderPankiv/ghc,fmthoma/ghc,olsner/ghc,gcampax/ghc,nushio3/ghc,ml9951/ghc,GaloisInc/halvm-ghc,mfine/ghc,nushio3/ghc,mettekou/ghc,gcampax/ghc,nushio3/ghc,vTurbine/ghc,siddhanathan/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,ilyasergey/GHC-XAppFix,gridaphobe/ghc,da-x/ghc,tibbe/ghc,mettekou/ghc,snoyberg/ghc,mcschroeder/ghc,lukexi/ghc-7.8-arm64,shlevy/ghc,wxwxwwxxx/ghc,spacekitteh/smcghc,gridaphobe/ghc,siddhanathan/ghc,wxwxwwxxx/ghc,ghc-android/ghc,nkaretnikov/ghc,lukexi/ghc,shlevy/ghc,ml9951/ghc,holzensp/ghc,GaloisInc/halvm-ghc,gcampax/ghc,GaloisInc/halvm-ghc,ghc-android/ghc,ilyasergey/GHC-XAppFix,fmthoma/ghc,da-x/ghc,fmthoma/ghc,elieux/ghc,shlevy/ghc,urbanslug/ghc,green-haskell/ghc,TomMD/ghc,fmthoma/ghc,ml9951/ghc,gridaphobe/ghc,mettekou/ghc,shlevy/ghc,olsner/ghc,AlexanderPankiv/ghc,acowley/ghc,sdiehl/ghc,ekmett/ghc,mcmaniac/ghc,elieux/ghc,ilyasergey/GHC-XAppFix,vikraman/ghc,forked-upstream-packages-for-ghcjs/ghc,tjakway/ghcjvm,lukexi/ghc-7.8-arm64,oldmanmike/ghc,elieux/ghc,nathyong/microghc-ghc,ml9951/ghc,vTurbine/ghc,olsner/ghc,gridaphobe/ghc,lukexi/ghc,forked-upstream-packages-for-ghcjs/ghc,christiaanb/ghc,lukexi/ghc,christiaanb/ghc,mcschroeder/ghc,frantisekfarka/ghc-dsi,ekmett/ghc,snoyberg/ghc,mcschroeder/ghc,ghc-android/ghc,gcampax/ghc,mfine/ghc,jstolarek/ghc,olsner/ghc,nkaretnikov/ghc,oldmanmike/ghc,TomMD/ghc,acowley/ghc,forked-upstream-packages-for-ghcjs/ghc,bitemyapp/ghc,oldmanmike/ghc,anton-dessiatov/ghc,bitemyapp/ghc,ml9951/ghc,mcmaniac/ghc,holzensp/ghc,ekmett/ghc,lukexi/ghc,elieux/ghc,frantisekfarka/ghc-dsi,vikraman/ghc,christiaanb/ghc,tibbe/ghc,green-haskell/ghc,green-haskell/ghc,siddhanathan/ghc,ezyang/ghc,jstolarek/ghc,TomMD/ghc,anton-dessiatov/ghc,ghc-android/ghc,bitemyapp/ghc,frantisekfarka/ghc-dsi,hferreiro/replay,ezyang/ghc,nathyong/microghc-ghc,nushio3/ghc,hferreiro/replay,da-x/ghc,gcampax/ghc,sdiehl/ghc,vikraman/ghc,frantisekfarka/ghc-dsi,mfine/ghc,wxwxwwxxx/ghc,mettekou/ghc,sdiehl/ghc,lukexi/ghc-7.8-arm64,ezyang/ghc,vTurbine/ghc,TomMD/ghc,mfine/ghc,GaloisInc/halvm-ghc,AlexanderPankiv/ghc,nomeata/ghc,vikraman/ghc,gridaphobe/ghc,da-x/ghc,spacekitteh/smcghc,acowley/ghc,fmthoma/ghc,mfine/ghc,ryantm/ghc,hferreiro/replay,acowley/ghc,nkaretnikov/ghc,tjakway/ghcjvm,GaloisInc/halvm-ghc,lukexi/ghc,da-x/ghc,shlevy/ghc,TomMD/ghc,vTurbine/ghc,ryantm/ghc,ml9951/ghc,wxwxwwxxx/ghc,jstolarek/ghc,oldmanmike/ghc,vikraman/ghc,holzensp/ghc,TomMD/ghc,mcschroeder/ghc,ghc-android/ghc,sgillespie/ghc,nathyong/microghc-ghc,ezyang/ghc,AlexanderPankiv/ghc,urbanslug/ghc,bitemyapp/ghc,vikraman/ghc,mfine/ghc,ezyang/ghc,siddhanathan/ghc,hferreiro/replay,vTurbine/ghc,mcmaniac/ghc,shlevy/ghc,ml9951/ghc,GaloisInc/halvm-ghc,acowley/ghc,urbanslug/ghc,acowley/ghc,nushio3/ghc,ghc-android/ghc,vTurbine/ghc,anton-dessiatov/ghc,nathyong/microghc-ghc,christiaanb/ghc,nkaretnikov/ghc,forked-upstream-packages-for-ghcjs/ghc,mfine/ghc