summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2015-06-20 16:15:41 -0700
committerEdward Z. Yang <ezyang@cs.stanford.edu>2015-06-22 10:32:27 -0700
commit6c5a66a225fcd65eb3abe32cc2128b0b90440451 (patch)
tree12b600e2817864459c378a44b6dad58b30195bef /rules
parentf70fb6892f5fd32e6161e951aa3e804148afd2fe (diff)
downloadhaskell-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 'rules')
-rw-r--r--rules/build-prog.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/build-prog.mk b/rules/build-prog.mk
index f2f6ad2551..eca3358e25 100644
--- a/rules/build-prog.mk
+++ b/rules/build-prog.mk
@@ -241,7 +241,7 @@ $1/$2/build/tmp/$$($1_$2_PROG)-wrapper.c: driver/utils/dynwrapper.c | $$$$(dir $
echo '#include <Windows.h>' >> $$@
echo '#include "Rts.h"' >> $$@
echo 'LPTSTR path_dirs[] = {' >> $$@
- $$(foreach p,$$($1_$2_TRANSITIVE_DEP_KEYS),$$(call make-command,echo ' TEXT("/../lib/$$p")$$(comma)' >> $$@))
+ $$(foreach p,$$($1_$2_TRANSITIVE_DEP_LIB_NAMES),$$(call make-command,echo ' TEXT("/../lib/$$p")$$(comma)' >> $$@))
echo ' TEXT("/../lib/"),' >> $$@
echo ' NULL};' >> $$@
echo 'LPTSTR progDll = TEXT("../lib/$$($1_$2_PROG).dll");' >> $$@