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:
parent
39710849ad
commit
9f51f72115
@ -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)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user