projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e8fcdc3
)
Embedd DLL name into its import library, so client libs reference them properly in...
author
Clemens Fruhwirth
<clemens@endorphin.org>
Tue, 1 Jan 2008 15:21:57 +0000
(15:21 +0000)
committer
Clemens Fruhwirth
<clemens@endorphin.org>
Tue, 1 Jan 2008 15:21:57 +0000
(15:21 +0000)
mk/target.mk
patch
|
blob
|
history
diff --git
a/mk/target.mk
b/mk/target.mk
index
9218825
..
f75fae8
100644
(file)
--- a/
mk/target.mk
+++ b/
mk/target.mk
@@
-372,14
+372,14
@@
$(LIBRARY): $(LIBOBJS) $(LIBRARY).o $(LIB_DEPS)
DLLTOOL=dlltool
$(LIBRARY).def: $(LIBOBJS)
DLLTOOL=dlltool
$(LIBRARY).def: $(LIBOBJS)
- $(DLLTOOL) --output-def $@ --export-all $(LIBOBJS)
+ $(DLLTOOL) -D $(LIBRARY) --output-def $@ --export-all $(LIBOBJS)
$(LIBRARY).o:
$(LIBRARY).o:
- $(DLLTOOL) --output-exp $(LIBRARY).o $(LIBOBJS)
+ $(DLLTOOL) -D $(LIBRARY) --output-exp $(LIBRARY).o $(LIBOBJS)
# Generates library.dll.a; by MinGW conventions, this is the dll's import library
$(LIBRARY).a: $(LIBOBJS) $(LIBRARY).def
# Generates library.dll.a; by MinGW conventions, this is the dll's import library
$(LIBRARY).a: $(LIBOBJS) $(LIBRARY).def
- $(DLLTOOL) --def $(LIBRARY).def --output-lib $@
+ $(DLLTOOL) -D $(LIBRARY) --def $(LIBRARY).def --output-lib $@
#
# Version information is baked into a DLL by having the DLL include DllVersionInfo.o.
#
# Version information is baked into a DLL by having the DLL include DllVersionInfo.o.