Changeset 23cdbc02777ba38ff7041545e0bc9fceddaebd22
- Timestamp:
- 12/12/05 09:57:20
(3 years ago)
- Author:
- Olivier Aubert <olivier.aubert@liris.cnrs.fr>
- git-committer:
- Olivier Aubert <olivier.aubert@liris.cnrs.fr> 1134377840 +0000
- git-parent:
[e0de322a2341f80aa53a89dbc3d74ce9e0c058b8]
- git-author:
- Olivier Aubert <olivier.aubert@liris.cnrs.fr> 1134377840 +0000
- Message:
python/setup.py: use PIC versions of the libraries (patch by Filippo Carone)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rf12e7ed |
r23cdbc0 |
|
| 38 | 38 | else: |
|---|
| 39 | 39 | os.environ['top_builddir'] = '../..' |
|---|
| 40 | | ldflags=os.popen('%s --libs vlc builtin' % vlcconfig, 'r').readline().rstrip().split() |
|---|
| | 40 | ldflags=os.popen('%s --libs vlc pic builtin' % vlcconfig, 'r').readline().rstrip().split() |
|---|
| 41 | 41 | return ldflags |
|---|
| 42 | 42 | |
|---|
| … | … | |
| 46 | 46 | '../../src/control/init.c'], |
|---|
| 47 | 47 | include_dirs = ['../../include', '../../', '/usr/win32/include' ], |
|---|
| 48 | | extra_objects = [ '../../lib/libvlc.a' ], |
|---|
| | 48 | extra_objects = [ '../../lib/libvlc_pic.a' ], |
|---|
| 49 | 49 | extra_compile_args = get_cflags(), |
|---|
| 50 | 50 | extra_link_args = [ '-L../..' ] + get_ldflags(), |
|---|