[xiph-commits] r14069 - trunk/theora
giles at svn.xiph.org
giles at svn.xiph.org
Tue Oct 30 10:52:28 PDT 2007
Author: giles
Date: 2007-10-30 10:52:28 -0700 (Tue, 30 Oct 2007)
New Revision: 14069
Modified:
trunk/theora/SConstruct
Log:
Link the examples statically for easier debugging.
Modified: trunk/theora/SConstruct
===================================================================
--- trunk/theora/SConstruct 2007-10-30 17:42:01 UTC (rev 14068)
+++ trunk/theora/SConstruct 2007-10-30 17:52:28 UTC (rev 14069)
@@ -171,24 +171,22 @@
# example programs
dump_video = env.Copy()
-dump_video.Append(LIBS=['theora'], LIBPATH=['./lib'])
-dump_video_Sources = Split("""dump_video.c""")
+dump_video_Sources = Split("""dump_video.c ../lib/libtheora.a""")
dump_video.Program('examples/dump_video', path('examples', dump_video_Sources))
if have_vorbis:
encex = dump_video.Copy()
encex.ParseConfig('pkg-config --cflags --libs vorbisenc vorbis')
- encex_Sources = Split("""encoder_example.c""")
+ encex_Sources = Split("""encoder_example.c ../lib/libtheora.a""")
encex.Program('examples/encoder_example', path('examples', encex_Sources))
if build_player_example:
plyex = encex.Copy()
- plyex_Sources = Split("""player_example.c""")
+ plyex_Sources = Split("""player_example.c ../lib/libtheora.a""")
plyex.ParseConfig('sdl-config --cflags --libs')
plyex.Program('examples/player_example', path('examples', plyex_Sources))
png2theora = env.Copy()
-png2theora.Append(LIBS=['theora'], LIBPATH=['./lib'])
-png2theora_Sources = Split("""png2theora.c""")
+png2theora_Sources = Split("""png2theora.c ../lib/libtheora.a""")
png2theora.ParseConfig('pkg-config --cflags --libs libpng')
png2theora.Program('examples/png2theora', path('examples', png2theora_Sources))
More information about the commits
mailing list