Generate an import lib to accompany winpty.dll.
winpty.lib isn't needed for console.exe, but it could be useful to other software embedding winpty. MSVC needs it to link against winpty.dll.
This commit is contained in:
parent
d72f4a44f8
commit
30c6e9f7e0
@ -26,6 +26,6 @@ LIBWINPTY_OBJECTS = \
|
||||
|
||||
build/winpty.dll : $(LIBWINPTY_OBJECTS)
|
||||
@echo Linking $@
|
||||
@$(MINGW_CXX) $(MINGW_LDFLAGS) -shared -o $@ $^
|
||||
@$(MINGW_CXX) $(MINGW_LDFLAGS) -shared -o $@ $^ -Wl,--out-implib,build/winpty.lib
|
||||
|
||||
-include $(LIBWINPTY_OBJECTS:.o=.d)
|
||||
|
Loading…
Reference in New Issue
Block a user