X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=test%2Fsetup.py;h=d03c4eb374e33e796d9eff5bd48f9fec3178b571;hb=d248d3f2f9a3ca4b8b9508c84ee96d07c362c82b;hp=36fb9f3783160ba66ac11d00f46be6807e91dc79;hpb=0fbf13c30976400ed00ccf72ce8d7c84c981d628;p=vlc diff --git a/test/setup.py b/test/setup.py index 36fb9f3783..d03c4eb374 100644 --- a/test/setup.py +++ b/test/setup.py @@ -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(), )