diff options
author | Edward Z. Yang <ezyang@cs.stanford.edu> | 2015-06-20 16:15:41 -0700 |
---|---|---|
committer | Edward Z. Yang <ezyang@cs.stanford.edu> | 2015-06-22 10:32:27 -0700 |
commit | 6c5a66a225fcd65eb3abe32cc2128b0b90440451 (patch) | |
tree | 12b600e2817864459c378a44b6dad58b30195bef /utils/ghc-cabal | |
parent | f70fb6892f5fd32e6161e951aa3e804148afd2fe (diff) | |
download | haskell-6c5a66a225fcd65eb3abe32cc2128b0b90440451.tar.gz |
Fix #10551 by using LIB_NAMES.
Summary:
(NB: this code is dead at the moment since Windows is not built
dynamically.)
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: none
Reviewers: austin
Subscribers: thomie, bgamari
Differential Revision: https://phabricator.haskell.org/D1001
GHC Trac Issues: #10551
Diffstat (limited to 'utils/ghc-cabal')
-rw-r--r-- | utils/ghc-cabal/Main.hs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/utils/ghc-cabal/Main.hs b/utils/ghc-cabal/Main.hs index 6302349a2a..77caf5819e 100644 --- a/utils/ghc-cabal/Main.hs +++ b/utils/ghc-cabal/Main.hs @@ -411,10 +411,6 @@ generate directory distdir dll0Modules config_args transitive_dep_ids = map Installed.sourcePackageId dep_pkgs transitiveDeps = map display transitive_dep_ids - transitiveDepKeys - | packageKeySupported comp - = map (display . Installed.packageKey) dep_pkgs - | otherwise = transitiveDeps transitiveDepLibNames | packageKeySupported comp = map (\p -> packageKeyLibraryName @@ -451,7 +447,6 @@ generate directory distdir dll0Modules config_args variablePrefix ++ "_DEP_IPIDS = " ++ unwords dep_ipids, variablePrefix ++ "_DEP_NAMES = " ++ unwords depNames, variablePrefix ++ "_TRANSITIVE_DEPS = " ++ unwords transitiveDeps, - variablePrefix ++ "_TRANSITIVE_DEP_KEYS = " ++ unwords transitiveDepKeys, variablePrefix ++ "_TRANSITIVE_DEP_LIB_NAMES = " ++ unwords transitiveDepLibNames, variablePrefix ++ "_TRANSITIVE_DEP_NAMES = " ++ unwords transitiveDepNames, variablePrefix ++ "_INCLUDE_DIRS = " ++ unwords (includeDirs bi), |