summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordknn <yoann.blein@free.fr>2012-07-09 11:57:44 (GMT)
committerdknn <yoann.blein@free.fr>2012-09-22 09:00:01 (GMT)
commit68c8467913451099154b28d5a876ae14c1a9e1dd (patch)
tree50fdc9ff78f95fc783c1ac80b0a510426202ae38 /Swiften/ScreenSharing/SConscript
parent88822191fbc4deaad178a969e06f9527082e02d2 (diff)
downloadswift-contrib-68c8467913451099154b28d5a876ae14c1a9e1dd.zip
swift-contrib-68c8467913451099154b28d5a876ae14c1a9e1dd.tar.bz2
Fix linking errors + add libvpx
Diffstat (limited to 'Swiften/ScreenSharing/SConscript')
-rw-r--r--Swiften/ScreenSharing/SConscript17
1 files changed, 12 insertions, 5 deletions
diff --git a/Swiften/ScreenSharing/SConscript b/Swiften/ScreenSharing/SConscript
index 6504541..a593296 100644
--- a/Swiften/ScreenSharing/SConscript
+++ b/Swiften/ScreenSharing/SConscript
@@ -2,14 +2,10 @@ Import("swiften_env", "env")
sources = [
"Image.cpp",
- "VP8Encoder.cpp",
- "VP8RTPPacketizer.cpp",
- "VP8Decoder.cpp",
- "VP8RTPParser.cpp",
"ScreenSharing.cpp",
"OutgoingScreenSharing.cpp",
- "OutgoingScreenSharingManager.cpp",
"IncomingScreenSharing.cpp",
+ "OutgoingScreenSharingManager.cpp",
"IncomingScreenSharingManager.cpp",
"ScreenSharingManagerImpl.cpp",
]
@@ -24,6 +20,17 @@ if swiften_env["experimental"] :
"RTPSessionImpl.cpp",
])
+ # libvpx classes
+ libvpx_env = swiften_env.Clone()
+ #libvpx_env.Append(CPPDEFINES = libvpx_env["LIBVPX_FLAGS"].get("INTERNAL_CPPDEFINES", []))
+ libvpx_env.MergeFlags(libvpx_env.get("LIBVPX_FLAGS", {}))
+ objects += libvpx_env.SwiftenObject([
+ "VP8Encoder.cpp",
+ "VP8Decoder.cpp",
+ "VP8RTPPacketizer.cpp",
+ "VP8RTPParser.cpp",
+ ])
+
swiften_env.Append(SWIFTEN_OBJECTS = [objects])
#env.Append(UNITTEST_SOURCES = [])