1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-02 09:47:00 +03:00

feature #2245: make xmlrpc-c-config the first option in scons

Try first using xmlrpc-c-config to compile and link options
instead of pkg-config. Needed for statically link new versions
of xmlrpc-c when other is installed systemwide.
This commit is contained in:
Javi Fontan 2013-10-17 17:04:23 +02:00
parent 39710849ad
commit 9f51f72115

View File

@ -134,18 +134,18 @@ end
# Array with flags/libs to test
Configs=[
# Configuration for fedora
{
:description => "pkg-config",
:client => exec_command("pkg-config xmlrpc_client++ xmlrpc++ --libs"),
:server => exec_command("pkg-config xmlrpc_server_abyss++ --static --libs")
},
# Configuration using xmlrpc-c-config
{
:description => "xmlrpc-c-config",
:client => exec_command("xmlrpc-c-config c++2 client --libs --cflags"),
:server => exec_command("xmlrpc-c-config c++2 abyss-server --libs --cflags")
},
# Configuration for fedora
{
:description => "pkg-config",
:client => exec_command("pkg-config xmlrpc_client++ xmlrpc++ --libs"),
:server => exec_command("pkg-config xmlrpc_server_abyss++ --static --libs")
},
# Debian lenny
{
:description => "mixed hardcoded libraries and xmlrpc-c-config (debian lenny)",