aboutsummaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-10-26 13:47:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-10-26 18:26:28 +0300
commit95fee14dfa5bd3896c510077af36ea371a9a2975 (patch)
treeb1a85ba6ab458731e3aeba30efc645c7b2a50225 /tests/basic
parent9be7ac171fba73340e2974ff7ba55739a7ca81fb (diff)
Merge with 1.5.4 upstream package version
Diffstat (limited to 'tests/basic')
-rw-r--r--tests/basic/driver.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/basic/driver.c b/tests/basic/driver.c
index 888a862..0e733c9 100644
--- a/tests/basic/driver.c
+++ b/tests/basic/driver.c
@@ -67,7 +67,9 @@ int
main (int argc, const char* argv[])
{
pkgconf_client_t* c =
- pkgconf_client_new (error_handler, NULL /* error_handler_data */);
+ pkgconf_client_new (error_handler,
+ NULL /* error_handler_data */,
+ pkgconf_cross_personality_default ());
assert (c != NULL);
@@ -112,7 +114,7 @@ main (int argc, const char* argv[])
* Bootstrap the package search default paths if not specified explicitly.
*/
if (default_dirs)
- pkgconf_pkg_dir_list_build (c);
+ pkgconf_client_dir_list_build (c, pkgconf_cross_personality_default ());
pkgconf_pkg_t* p = pkgconf_pkg_find (c, name);