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 /rules | |
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 'rules')
-rw-r--r-- | rules/build-prog.mk | 2 |
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");' >> $$@ |