mirror of
https://github.com/pkgconf/pkgconf.git
synced 2026-01-27 01:44:34 +00:00
libpkgconf: personality: return the default personality if loading a personality file failed
This commit is contained in:
parent
19aa93e371
commit
bfd5a7658b
@ -248,6 +248,6 @@ pkgconf_cross_personality_find(const char *triplet)
|
||||
|
||||
finish:
|
||||
pkgconf_path_free(&plist);
|
||||
return out;
|
||||
return out != NULL ? out : pkgconf_cross_personality_default();
|
||||
}
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user