VirtualBox

Changeset 2613 in kBuild for trunk/src


Ignore:
Timestamp:
Jul 29, 2012 7:42:30 PM (12 years ago)
Author:
bird
Message:

kObjCache: Fixes to the make dependency feature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kObjCache/kObjCache.c

    r2612 r2613  
    10671067{
    10681068    char *pszObjFileAbs;
     1069    char *psz;
    10691070    FILE *pFile = fopen(pszFilename, "w");
    10701071    if (!pFile)
     
    10731074    depOptimize(fFixCase, fQuiet);
    10741075
     1076    /* Make object file name with unix slashes. */
    10751077    pszObjFileAbs = MakePathFromDirAndFile(pszObjFile, pszObjDir);
     1078    psz = pszObjFileAbs;
     1079    while ((psz = strchr(psz, '\\')) != NULL)
     1080        *psz++ = '/';
     1081
    10761082    fprintf(pFile, "%s:", pszObjFileAbs);
    10771083    free(pszObjFileAbs);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette