All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Anthony PERARD <anthony.perard@citrix.com>
Cc: qemu-devel@nongnu.org
Subject: Re: configure with datadir outside of --prefix fails with meson
Date: Fri, 18 Sep 2020 14:40:18 +0100	[thread overview]
Message-ID: <20200918134018.GJ1628512@redhat.com> (raw)
In-Reply-To: <20200918133012.GH2024@perard.uk.xensource.com>

On Fri, Sep 18, 2020 at 02:30:12PM +0100, Anthony PERARD via wrote:
> Hi,
> 
> When we build QEMU while building Xen we do:
>     ./configure --prefix=/usr/lib/xen \
>                 --datadir=/usr/share/qemu-xen \
>                 ...
> 
> But meson give an error:
>   ERROR: The value of the 'datadir' option is '/usr/share/qemu-xen' which must be a subdir of the prefix '/usr/lib/xen'.
> 
> Would it still be possible to allow datadir outside of prefix or is it
> going to be a limitation imposed by meson?

This appears to be enforced by meson. It ony allows certain dirs to
be outside the prefix.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



      reply	other threads:[~2020-09-18 13:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-18 13:30 configure with datadir outside of --prefix fails with meson Anthony PERARD via
2020-09-18 13:40 ` Daniel P. Berrangé [this message]

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=20200918134018.GJ1628512@redhat.com \
    --to=berrange@redhat.com \
    --cc=anthony.perard@citrix.com \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.