Skip to content

Commit

Permalink
Use bb.utils.contains instead of base_contains
Browse files Browse the repository at this point in the history
base_contains is deprecated.

Signed-off-by: Anselmo L. S. Melo <[email protected]>
  • Loading branch information
anselmolsm committed Nov 1, 2016
1 parent f42c477 commit b4bb0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes-modules/libmicrohttpd/libmicrohttpd_0.9.49.bb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../ --disable-

PACKAGECONFIG ?= "curl"
PACKAGECONFIG_append_class-target = "\
${@base_contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \
"
PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl,"
Expand Down

0 comments on commit b4bb0f3

Please sign in to comment.