Skip to content

Commit 822f51b

Browse files
jeffhostetlerGit for Windows Build Agent
authored andcommitted
config.mak.uname: add git.rc to MSVC builds
Teach MSVC=1 builds to depend on the `git.rc` file so that the resulting executables have Windows-style resources and version number information within them. Signed-off-by: Jeff Hostetler <[email protected]>
1 parent 6d7a479 commit 822f51b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.mak.uname

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ endif
515515
# handle twice, or to access the osfhandle of an already-closed stdout
516516
# See https://msdn.microsoft.com/en-us/library/ms235330.aspx
517517
EXTLIBS = user32.lib advapi32.lib shell32.lib wininet.lib ws2_32.lib invalidcontinue.obj kernel32.lib ntdll.lib
518+
GITLIBS += git.res
518519
PTHREAD_LIBS =
519520
RC = compat/vcbuild/scripts/rc.pl
520521
lib =

0 commit comments

Comments
 (0)