]> git.sesse.net Git - vlc/commitdiff
python bindings: provide useful defaults for linking when compiling out-of-tree
authorOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Tue, 4 Mar 2008 10:10:48 +0000 (11:10 +0100)
committerOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Tue, 4 Mar 2008 10:10:48 +0000 (11:10 +0100)
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.

bindings/python/setup.py

index 00360460b20414b40c54a69c0af10fbc27ae1e0c..8efd552f3d17f6485cf1626dc7d3e4569336a509 100644 (file)
@@ -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':