From: Boszormenyi Zoltan <zboszor@pr.hu>
To: "openembedded-devel@lists.openembedded.org"
<openembedded-devel@lists.openembedded.org>
Subject: Escaping in PACKAGECONFIG
Date: Wed, 26 Nov 2014 19:17:16 +0100 [thread overview]
Message-ID: <5476192C.2030204@pr.hu> (raw)
Hi,
what is the proper way of escaping a comma in the string specified for PACKAGECONFIG?
I would like to use something like the below in my custom PHP recipe:
PACKAGECONFIG[mysql] = ' \
--enable-mysqlnd="shared" \
--with-mysql="shared,mysqlnd" \
--with-mysqli="shared,mysqlnd" \
--with-mysql-sock=${localstatedir}/lib/mysql/mysql.sock \
--with-pdo-mysql="shared,mysqlnd" \
, \
,mysql5'
With ...="shared,mysqlnd", ...="shared\,mysqlnd" or ...="shared\\,mysqlnd" I get:
ERROR: Only enable,disable,depend,rdepend can be specified!
and
ERROR: Nothing PROVIDES 'mysqlnd"' (but .../php/php_5.6.3.bb DEPENDS on or otherwise
requires it). Close matches:
mysql5
ERROR: Required build target 'php' has no buildable providers.
Missing or unbuildable dependency chain was: ['php', 'mysqlnd"']
But, this works:
MYSQLND="shared,mysqlnd"
PACKAGECONFIG[mysql] = ' \
--enable-mysqlnd="shared" \
--with-mysql=${MYSQLND} \
--with-mysqli=${MYSQLND} \
--with-mysql-sock=${localstatedir}/lib/mysql/mysql.sock \
--with-pdo-mysql=${MYSQLND} \
, \
,mysql5'
Why?
Thanks in advance,
Zoltán Böszörményi
next reply other threads:[~2014-11-26 18:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-26 18:17 Boszormenyi Zoltan [this message]
2015-01-14 12:18 ` Escaping in PACKAGECONFIG Paul Eggleton
2015-01-14 17:49 ` Burton, Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5476192C.2030204@pr.hu \
--to=zboszor@pr.hu \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox