X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=libopkg%2Fopkg.c;h=d8c17cdf87bd099adaa1e10c5cd528d14059de12;hb=9396bd4a4c84bde6b55ac3c47c90b4804e51adaf;hp=9e278cd7af621a1b47eb90fc73a96f146c2aa8e4;hpb=ba12c7133602244bb13dc026a78ea2fababb1967;p=project%2Fopkg-lede.git diff --git a/libopkg/opkg.c b/libopkg/opkg.c index 9e278cd..d8c17cd 100644 --- a/libopkg/opkg.c +++ b/libopkg/opkg.c @@ -749,7 +749,7 @@ pkg_t *opkg_find_package(const char *name, const char *ver, const char *arch, /* check architecture */ if (arch) { - if (sstrcmp(pkg_get_string(pkg, PKG_ARCHITECTURE), arch)) + if (sstrcmp(pkg_get_architecture(pkg), arch)) continue; }