Add linux/unix version of SRV lookup.

Add some extra debugging when SRV lookup fails.
This commit is contained in:
James Canete
2008-07-03 04:32:28 +00:00
parent a1a9328698
commit 561fac842c
3 changed files with 48 additions and 1 deletions

View File

@@ -102,6 +102,8 @@ exenv.Append(LIBS=["strophe", "expat"])
exenv.Append(LIBPATH=["."])
if exenv["PLATFORM"] == "win32":
exenv.Append(LIBS=["ws2_32", "winmm"])
if exenv["PLATFORM"] != "win32":
exenv.Append(LIBS=["resolv"])
for e in path("examples", Examples):
example = exenv.Program(e)
Default(example)