aboutsummaryrefslogtreecommitdiff
path: root/tests/basic/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/driver.c')
-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);