[vlc-devel] commit: python bindings: provide useful defaults for linking when compiling out-of-tree ( Olivier Aubert )

git version control git at videolan.org
Tue Mar 4 11:14:41 CET 2008


vlc | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Tue Mar  4 11:10:48 2008 +0100| [7440f8d3b63fbc3a625651701760f2d223061dea]

python bindings: provide useful defaults for linking when compiling out-of-tree

This allows to compile the bindings from a properly installed VLC (includes and libs in standard locations), as for instance with the libvlc1-dev debian package.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7440f8d3b63fbc3a625651701760f2d223061dea
---

 bindings/python/setup.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bindings/python/setup.py b/bindings/python/setup.py
index 0036046..8efd552 100644
--- a/bindings/python/setup.py
+++ b/bindings/python/setup.py
@@ -71,7 +71,7 @@ def get_cflags():
 def get_ldflags():
     vlcconfig=get_vlcconfig()
     if vlcconfig is None:
-        return []
+        return [ '-lvlc', '-lvlc-control' ]
     else:
 	ldflags = []
 	if os.sys.platform == 'darwin':




More information about the vlc-devel mailing list