]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix name of .pdb file in ccapi/test/Makefile.in 837/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 31 Aug 2018 17:19:21 +0000 (13:19 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 5 Sep 2018 19:35:28 +0000 (15:35 -0400)
The -Fd cl option specifies the location of the program database
filename, which should have the extension .pdb.  Using a .obj
extension causes a build failure with MSVC version 14.15.26726.

ticket: 8732 (new)

src/ccapi/test/Makefile.in

index 85fe172354f14b43218c74164cf112ee6969ebcf..23befe8ea56eb5f7448e55054f5bbafcde1eff31 100644 (file)
@@ -151,7 +151,7 @@ build-tests: $(TEST_NAMES)
 
 $(TEST_NAMES):
     @echo DBG: $@
-    $(CC) $(ALL_CFLAGS) -Fe$(TESTDIR)$(S)$@.exe -Fd$(OBJDIR)$(S)$@.obj $@.c $(OBJECTS) $(LIBS)
+    $(CC) $(ALL_CFLAGS) -Fe$(TESTDIR)$(S)$@.exe -Fd$(OBJDIR)$(S)$@.pdb $@.c $(OBJECTS) $(LIBS)
 # Clean .obj from .:
     $(RM) $@.$(OBJEXT)
 ##-- These two rules build each element of the list.