get python setup.py to work when called directly
This commit is contained in:
parent
b9f889180d
commit
b8b4f4cb6d
1 changed files with 4 additions and 4 deletions
|
@ -7,11 +7,11 @@ top = os.path.join('..', '..')
|
||||||
|
|
||||||
library_dirs = [os.path.join(top, 'lib')]
|
library_dirs = [os.path.join(top, 'lib')]
|
||||||
libraries = ['recoll']
|
libraries = ['recoll']
|
||||||
runtime_library_dirs = []
|
|
||||||
try:
|
if os.environ.has_key('libdir') and os.environ['libdir'] != "":
|
||||||
runtime_library_dirs = [os.path.join(os.environ['libdir'], 'recoll')]
|
runtime_library_dirs = [os.path.join(os.environ['libdir'], 'recoll')]
|
||||||
except:
|
else:
|
||||||
pass
|
runtime_library_dirs = [os.path.join('@prefix@', 'lib', 'recoll')]
|
||||||
|
|
||||||
# Verify that the Recoll library was compiled with the PIC options
|
# Verify that the Recoll library was compiled with the PIC options
|
||||||
localdefs = os.path.join(top, 'mk', 'localdefs')
|
localdefs = os.path.join(top, 'mk', 'localdefs')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue