Commit 7440f8d3 authored by Olivier Aubert's avatar Olivier Aubert

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.
parent b0565043
...@@ -71,7 +71,7 @@ def get_cflags(): ...@@ -71,7 +71,7 @@ def get_cflags():
def get_ldflags(): def get_ldflags():
vlcconfig=get_vlcconfig() vlcconfig=get_vlcconfig()
if vlcconfig is None: if vlcconfig is None:
return [] return [ '-lvlc', '-lvlc-control' ]
else: else:
ldflags = [] ldflags = []
if os.sys.platform == 'darwin': if os.sys.platform == 'darwin':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment