summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-27 18:25:20 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:10 +1000
commit7c8b20037e5cac0644a657580fcb786be2666b2c (patch)
treef03ff00c3b5438729add0c974de6b301018e3d86
parentad0a99f62c517e0ebabe928d1b2a99bb1d1ba001 (diff)
downloadsamba-7c8b20037e5cac0644a657580fcb786be2666b2c.tar.gz
samba-7c8b20037e5cac0644a657580fcb786be2666b2c.tar.bz2
samba-7c8b20037e5cac0644a657580fcb786be2666b2c.zip
build: fixed destination name for pc_files
-rw-r--r--buildtools/wafsamba/wafsamba.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 03be97f299..2a79f702ef 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -701,5 +701,6 @@ def PKG_CONFIG_FILES(bld, pc_files):
dest = '${PKGCONFIGDIR}'
dest = bld.EXPAND_VARIABLES(dest)
for f in TO_LIST(pc_files):
- INSTALL_FILES(bld, dest, f+'.in', flat=True, destname=f)
+ INSTALL_FILES(bld, dest, f+'.in', flat=True,
+ destname=os.path.basename(f))
Build.BuildContext.PKG_CONFIG_FILES = PKG_CONFIG_FILES