diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-06-15 18:16:17 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-06-19 07:47:53 (GMT) |
commit | 76dc2c9991c5a8d6af2dff5247f78dd07599c1ee (patch) | |
tree | b5dd0ef27d883243a418b8fa075674b5b29c0365 | |
parent | b347d6f62c62aaddcaa3c01fbe3d11b2073dbd40 (diff) | |
download | swift-contrib-76dc2c9991c5a8d6af2dff5247f78dd07599c1ee.zip swift-contrib-76dc2c9991c5a8d6af2dff5247f78dd07599c1ee.tar.bz2 |
Also link against avahi-common.
-rw-r--r-- | BuildTools/SCons/SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct index 24bb696..f21cd08 100644 --- a/BuildTools/SCons/SConstruct +++ b/BuildTools/SCons/SConstruct @@ -295,9 +295,9 @@ else : # Avahi if env["PLATFORM"] != "darwin" : - if conf.CheckCHeader("avahi-client/client.h") and conf.CheckLib("avahi-client") : + if conf.CheckCHeader("avahi-client/client.h") and conf.CheckLib("avahi-client") and conf.CheckLib("avahi-common") : env["HAVE_AVAHI"] = True - env["AVAHI_FLAGS"] = { "LIBS": ["avahi-client"] } + env["AVAHI_FLAGS"] = { "LIBS": ["avahi-client", "avahi-common"] } conf.Finish() |