libopkg: clean up handling of unresolved dependencies
[project/opkg-lede.git] / libopkg / opkg.c
index 3583488780221b6fc566aa3b39ce378950a0503b..85ab5a05347d284586755473839d1c581cfc6315 100644 (file)
@@ -238,7 +238,7 @@ opkg_install_package(const char *package_name,
        /* find dependancies and download them */
        deps = pkg_vec_alloc();
        /* this function does not return the original package, so we insert it later */
-       pkg_hash_fetch_unsatisfied_dependencies(new, deps, &unresolved);
+       pkg_hash_fetch_unsatisfied_dependencies(new, deps, &unresolved, 0);
        if (unresolved) {
                char **tmp = unresolved;
                opkg_msg(ERROR, "Couldn't satisfy the following dependencies"