Adjust setup.py to link against libtool's lib/.libs/.
authorIan Abbott <abbotti@mev.co.uk>
Fri, 17 Dec 2010 13:56:26 +0000 (13:56 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Fri, 17 Dec 2010 13:56:26 +0000 (13:56 +0000)
Patch from W. Trevor King.

swig/python/setup.py

index 3f3aa4184a9dcc4dd02b7470eb1a6aae32095bc8..b4ec6e5596a09ddadfac10f9de03dd96da955481 100644 (file)
@@ -4,7 +4,7 @@ module1 = Extension('_comedi',
                        define_macros = [('MAJOR_VERSION','0'),
                                        ('MINOR_VERSION','1')],
                        include_dirs = ['../../include'],
-                       library_dirs = ['../../lib'],
+                       library_dirs = ['../../lib/.libs'],
                        swig_opts = ['-I../../include', '-I..'],
                        libraries = ['comedi'],
                        sources = ['comedi_python.i'])