Added support to pass native machine architecture to pkg scripts (6th arg).

This commit is contained in:
Juan RP
2014-03-12 10:16:37 +01:00
parent 7606691af3
commit ef3b6278a6
5 changed files with 96 additions and 2 deletions

View File

@ -98,7 +98,7 @@ xbps_pkg_exec_buffer(struct xbps_handle *xhp,
rv = xbps_file_exec(xhp, fpath, action, pkgname, version,
update ? "yes" : "no",
xhp->conffile, NULL);
xhp->conffile, xhp->native_arch, NULL);
free(pkgname);
out: