1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-16 16:02:54 +02:00

python: workaround a vlc-config issue on win32 (reported by <nicola.murino@gmail.com>)

This commit is contained in:
Olivier Aubert 2009-09-03 13:38:47 +02:00
parent 012d963317
commit 682f5a3589

View File

@ -70,6 +70,10 @@ def get_ldflags():
'r').readline().rstrip().split())
if os.sys.platform == 'darwin':
ldflags.append('-lstdc++')
if not '-lvlc' in ldflags:
# Some broken vlc-config can exist (esp. on win32). Try to
# workaround the problem.
ldflags.append('-lvlc')
return ldflags
#source_files = [ 'vlc_module.c', 'vlc_mediacontrol.c',