forked from ariadne/pkgconf
libpkgconf: personality: return the default personality if loading a personality file failed
parent
19aa93e371
commit
bfd5a7658b
|
@ -248,6 +248,6 @@ pkgconf_cross_personality_find(const char *triplet)
|
||||||
|
|
||||||
finish:
|
finish:
|
||||||
pkgconf_path_free(&plist);
|
pkgconf_path_free(&plist);
|
||||||
return out;
|
return out != NULL ? out : pkgconf_cross_personality_default();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue