parent
d45e850130
commit
03f7841065
|
@ -278,6 +278,10 @@ pkgconf_pkg_new_from_file(pkgconf_client_t *client, const char *filename, FILE *
|
||||||
/* make module id */
|
/* make module id */
|
||||||
if ((idptr = strrchr(pkg->filename, PKG_DIR_SEP_S)) != NULL)
|
if ((idptr = strrchr(pkg->filename, PKG_DIR_SEP_S)) != NULL)
|
||||||
idptr++;
|
idptr++;
|
||||||
|
#ifdef _WIN32
|
||||||
|
else if ((idptr = strrchr(pkg->filename, '/')) != NULL)
|
||||||
|
idptr++;
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
idptr = pkg->filename;
|
idptr = pkg->filename;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue