qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] Add -static earlier to LDFLAGS for compile_prog()


From: Loïc Minier
Subject: [Qemu-devel] [PATCH] Add -static earlier to LDFLAGS for compile_prog()
Date: Sun, 17 Jan 2010 13:04:02 +0100

        Hi

 When configure qemu with --static, it might autodetect support for some
 features by looking at available shared libraries instead of static
 libraries.  e.g. if you have libbluetooth.so, bluez support will be
 turned on, but the build will fail at link stage.

 Setting LDFLAGS earlier to include -static will cause the
 compile_prog() tests to try to link against static libs.  This did
 disable bluetooth support properly on my system where libbluetooth.a
 isn't available.  Tested by building qemu configured with:
    ./configure --static 
--target-list=arm-softmmu,i386-softmmu,x86_64-softmmu,arm-linux-user,i386-linux-user,x86_64-linux-user
 and again without --static.

   Thanks,
-- 
Loïc Minier

Attachment: 0001-Add-static-earlier-to-LDFLAGS-for-compile_prog.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]