diff options
author | Clemens Fruhwirth <clemens@endorphin.org> | 2008-01-01 15:21:57 +0000 |
---|---|---|
committer | Clemens Fruhwirth <clemens@endorphin.org> | 2008-01-01 15:21:57 +0000 |
commit | a759dad95859bf3be8eeb0ed18baeb67397a0795 (patch) | |
tree | 11dbd5982f95152087ed6e24a7dce91a92a72079 /mk/target.mk | |
parent | e8fcdc34bb2dfddd3dcfe3b027328bb45c9a10e6 (diff) | |
download | haskell-a759dad95859bf3be8eeb0ed18baeb67397a0795.tar.gz |
Embedd DLL name into its import library, so client libs reference them properly in .idata
Diffstat (limited to 'mk/target.mk')
-rw-r--r-- | mk/target.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/target.mk b/mk/target.mk index 92188257c1..f75fae835d 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -372,14 +372,14 @@ $(LIBRARY): $(LIBOBJS) $(LIBRARY).o $(LIB_DEPS) DLLTOOL=dlltool $(LIBRARY).def: $(LIBOBJS) - $(DLLTOOL) --output-def $@ --export-all $(LIBOBJS) + $(DLLTOOL) -D $(LIBRARY) --output-def $@ --export-all $(LIBOBJS) $(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 - $(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. |