[vlc-devel] bindings/python/setup.py patch

Filippo Carone filippo at carone.org
Sun Dec 11 21:16:03 CET 2005


 Following previous discussions on irc about python bindings
compilation issues on 64bit machines, here's a patch I suggest to
apply.


Index: bindings/python/setup.py
===================================================================
--- bindings/python/setup.py    (revision 13681)
+++ bindings/python/setup.py    (working copy)
@@ -37,7 +37,7 @@
         return []
     else:
        os.environ['top_builddir'] = '../..'
-        ldflags=os.popen('%s --libs vlc builtin' % vlcconfig,
'r').readline().rstrip().split()
+        ldflags=os.popen('%s --libs vlc pic builtin' % vlcconfig,
'r').readline().rstrip().split()
         return ldflags

 # To compile in a local vlc tree
@@ -45,7 +45,7 @@
                 sources = ['vlcglue.c',
                            '../../src/control/init.c'],
                 include_dirs = ['../../include', '../../',
		 '/usr/win32/include' ],
-                extra_objects = [ '../../lib/libvlc.a' ],
+                extra_objects = [ '../../lib/libvlc_pic.a' ],
                 extra_compile_args = get_cflags(),
                extra_link_args = [ '-L../..' ]  + get_ldflags(),
                 )

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list