diff options
-rw-r--r-- | Swiften/Network/SConscript | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/Network/SConscript b/Swiften/Network/SConscript index f168219..66dd974 100644 --- a/Swiften/Network/SConscript +++ b/Swiften/Network/SConscript @@ -46,8 +46,6 @@ sourceList = [ "NATTraversalGetPublicIPRequest.cpp", "NATTraversalForwardPortRequest.cpp", "NATTraversalRemovePortForwardingRequest.cpp", - "PlatformNATTraversalWorker.cpp", - "PlatformNATTraversalRequest.cpp", ] if myenv.get("HAVE_CARES", False) : @@ -89,5 +87,9 @@ if myenv["experimental"] : "UPnPNATTraversalForwardPortRequest.cpp", "UPnPNATTraversalRemovePortForwardingRequest.cpp", ]) + objects += myenv.SwiftenObject([ + "PlatformNATTraversalWorker.cpp", + "PlatformNATTraversalRequest.cpp", + ]) swiften_env.Append(SWIFTEN_OBJECTS = [objects]) |