]> git.sesse.net Git - vlc/blobdiff - test/setup.py
Another check for malloc.
[vlc] / test / setup.py
index 098b52a0d680050db7544e58e58343ef9634dba8..d03c4eb374e33e796d9eff5bd48f9fec3178b571 100644 (file)
@@ -21,7 +21,7 @@ def get_cflags():
         return []
     else:
         cflags=os.popen('%s --cflags' % vlcconfig, 'r').readline().rstrip().split()
-       cflags.append( "-D__VLC__")
+       cflags.append( "-D__LIBVLC__")
         return cflags
 
 def get_ldflags():
@@ -41,9 +41,10 @@ def get_ldflags():
 # To compile in a local vlc tree
 native_libvlc_test = Extension( 'native_libvlc_test',
                 sources = ['native/init.c', 'native/url.c', 'native/i18n.c',
-                           'native/stats.c', 'native/libvlc.c', 'native/profiles.c'],
+                           'native/stats.c', 'native/libvlc.c', 'native/profiles.c',
+                'native/algo.c', 'native/threads.c'],
                 include_dirs = ['../include', '../', '/usr/win32/include' ],
-                extra_objects = [ '../src/.libs/libvlc.so' ],
+                extra_objects = [ '../src/.libs/libvlc.so', '../src/.libs/libvlc-control.so' ],
                 extra_compile_args = get_cflags(),
                            extra_link_args = [ '-L../..' ]  + get_ldflags(),
                 )