Merge branch 'fix-msvc-build' of seungha.yang/pkgconf into master

feature/tap-sh
kaniini 2019-05-18 00:52:09 +00:00 committed by Gitea
commit 7460d2870e
1 changed files with 1 additions and 1 deletions

View File

@ -773,7 +773,7 @@ deduce_personality(char *argv[])
if (i == NULL)
return pkgconf_cross_personality_default();
prefix = strndup(argv0, i - argv0);
prefix = pkgconf_strndup(argv0, i - argv0);
out = pkgconf_cross_personality_find(prefix);
free(prefix);
if (out == NULL)