* at last the python module works again !
authorCyril Deguet <asmax@videolan.org>
Thu, 22 May 2003 20:06:19 +0000 (20:06 +0000)
committerCyril Deguet <asmax@videolan.org>
Thu, 22 May 2003 20:06:19 +0000 (20:06 +0000)
 (so stupid: the flag -lavcodec had to be at the *end* of the line !)

python/setup.py

index 7b06418..bb1c71d 100644 (file)
@@ -5,11 +5,11 @@ FFMPEG_DIR = '/home/cyril/ffmpeg'
 vlc = Extension('vlc',
                 sources = ['vlcmodule.c'],
                 libraries = ['vlc', 'rt', 'dl' , 'pthread', 'ffmpeg', 'm',
-                             'avcodec','memcpymmx','stream_out_transcode',
+                             'memcpymmx','stream_out_transcode',
                              'i420_rgb_mmx','i420_yuy2_mmx','i420_ymga_mmx',
                              'i422_yuy2_mmx','memcpymmxext','memcpy3dn',
-                             'encoder_ffmpeg'],
-                library_dirs = [ '../lib', 
+                             'encoder_ffmpeg','avcodec'],
+                library_dirs = [ '../lib',
                                 '../modules/stream_out', '../modules/encoder/ffmpeg',
                                 '../modules/misc/memcpy','../modules/video_chroma',
                                 '../modules/codec/ffmpeg', FFMPEG_DIR + '/libavcodec'])