From: Olivier Aubert Date: Tue, 4 Mar 2008 10:10:48 +0000 (+0100) Subject: python bindings: provide useful defaults for linking when compiling out-of-tree X-Git-Tag: 0.9.0-test0~2334 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7440f8d3b63fbc3a625651701760f2d223061dea;p=vlc 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. --- diff --git a/bindings/python/setup.py b/bindings/python/setup.py index 00360460b2..8efd552f3d 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':