fixup install location of mapnik2.pc for pkg-config
This commit is contained in:
parent
e021f27f96
commit
9800e38764
1 changed files with 2 additions and 2 deletions
|
@ -97,12 +97,12 @@ if 'install' in COMMAND_LINE_TARGETS:
|
||||||
|
|
||||||
env['create_uninstall_target'](env,os.path.join(target_path,source))
|
env['create_uninstall_target'](env,os.path.join(target_path,source))
|
||||||
|
|
||||||
source = 'mapnik.pc'
|
source = 'mapnik2.pc'
|
||||||
open(source,'w').write(top+pkg_config)
|
open(source,'w').write(top+pkg_config)
|
||||||
try:
|
try:
|
||||||
os.chmod(source,0666)
|
os.chmod(source,0666)
|
||||||
except: pass
|
except: pass
|
||||||
target_path = os.path.normpath(install_prefix+'/lib/pkgconfig')
|
target_path = os.path.normpath(install_prefix+'/'+LIBDIR_SCHEMA+'/pkgconfig')
|
||||||
full_target = os.path.join(target_path,source)
|
full_target = os.path.join(target_path,source)
|
||||||
env.Install(target_path,source)
|
env.Install(target_path,source)
|
||||||
env.Alias('install',target_path)
|
env.Alias('install',target_path)
|
||||||
|
|
Loading…
Reference in a new issue