[vlc-devel] commit: python: workaround a vlc-config issue on win32 (reported by <nicola .murino at gmail.com>) (Olivier Aubert )
git version control
git at videolan.org
Thu Sep 3 17:22:52 CEST 2009
vlc | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Thu Sep 3 13:38:47 2009 +0200| [682f5a3589ab94b13328acd4f178662f8584e4aa] | committer: Olivier Aubert
python: workaround a vlc-config issue on win32 (reported by <nicola.murino at gmail.com>)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=682f5a3589ab94b13328acd4f178662f8584e4aa
---
bindings/python/setup.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/bindings/python/setup.py b/bindings/python/setup.py
index e26f715..88e18fc 100644
--- a/bindings/python/setup.py
+++ b/bindings/python/setup.py
@@ -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',
More information about the vlc-devel
mailing list