[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] libcacard is been installed to /usr/lib while libdir=/usr/lib64



Hi,

I build qemu-upstream on CentOS 6 x86_64 and libcacard is been installed into
/usr/lib:

   /usr/lib/libcacard.a
   /usr/lib/libcacard.la
   /usr/lib/libcacard.so
   /usr/lib/libcacard.so.0
   /usr/lib/libcacard.so.0.0.0
   /usr/lib/pkgconfig/libcacard.pc

Here is the build log:

make[2]: Entering directory `/share/rpmbuild/BUILD/xen-4.5.0/tools'
if test -d git://xenbits.xen.org/qemu-upstream-unstable.git ; then \
        source=git://xenbits.xen.org/qemu-upstream-unstable.git; \
    else \
        source=.; \
    fi; \
    cd qemu-xen-dir; \
    $source/configure --enable-xen --target-list=i386-softmmu \
        --enable-debug --enable-trace-backend=stderr \
        --prefix=/usr \
        --source-path=$source \
        
--extra-cflags="-I/share/rpmbuild/BUILD/xen-4.5.0/tools/../tools/include \
        -I/share/rpmbuild/BUILD/xen-4.5.0/tools/../tools/libxc \
        -I/share/rpmbuild/BUILD/xen-4.5.0/tools/../tools/xenstore \
        -I/share/rpmbuild/BUILD/xen-4.5.0/tools/../tools/xenstore/compat \
        " \
        --extra-ldflags="-L/share/rpmbuild/BUILD/xen-4.5.0/tools/../tools/libxc 
\
        -L/share/rpmbuild/BUILD/xen-4.5.0/tools/../tools/xenstore" \
        --bindir=/usr/lib/xen/bin \
        --datadir=/usr/share/qemu-xen \
        --localstatedir=/var \
        --disable-kvm \
        --disable-docs \
        --disable-guest-agent \
        --python=python \
        ; \
    make all
Install prefix    /usr
BIOS directory    /usr/share/qemu-xen/qemu
binary directory  /usr/lib/xen/bin
library directory /usr/lib
libexec directory /usr/libexec
include directory /usr/include
config directory  /usr/etc
local state directory   /var
Manual directory  /usr/share/man
...


Is this expected? I thought it should be installed into /usr/lib64 as all other
xen libs.

Attached patch will change the behavior. Apply it if you think it's what we 
want.

Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>

Thanks,

Zhigang

Attachment: ovs-xen-qemu-upstream-libdir.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.