Add /OUT option for dumpbin

This commit is contained in:
Jeffrey Walton 2019-01-06 22:51:37 -05:00
parent 1709d5dc65
commit e38bfe417d
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -227,10 +227,11 @@ cryptlib.lib: $(LIB_OBJS)
# $(LD) dump2def.obj kernel32.lib /out:$@
cryptopp.map:
$(LD) $(LDFLAGS) /DLL /MAP /MAPINFO:EXPORTS $(LIB_OBJS) $(LDLIBS) /out:cryptopp.dll
$(LD) $(LDFLAGS) /DLL /MAP /MAPINFO:EXPORTS $(LIB_OBJS)
mv cryptlib.map cryptopp.map
cryptopp.dump: cryptlib.lib
dumpbin /LINKERMEMBER cryptlib.lib > cryptopp.dump
dumpbin.exe /LINKERMEMBER cryptlib.lib /OUT:$@
cryptopp.def: cryptlib.lib cryptopp.dump
dump2def.exe cryptopp.dump cryptopp.def