]> git.sesse.net Git - vlc/blobdiff - test/setup.py
Missed that in [24348]
[vlc] / test / setup.py
index 36fb9f3783160ba66ac11d00f46be6807e91dc79..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():
@@ -42,9 +42,9 @@ def get_ldflags():
 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/algo.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(),
                 )