summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-02-23 11:05:09 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-02-23 20:57:11 +0100
commitaed0735862f9517c49918bb4e4b444427d924b2e (patch)
tree3c6e28ca3c2737358030b8fb9cd3d056d0c04f20 /buildtools
parent8ba82673084fcc1c6beaf630da5a1d42f6d84f1c (diff)
downloadsamba-aed0735862f9517c49918bb4e4b444427d924b2e.tar.gz
waf: Make sure libraries are installed with the execute flag set.
There are two reasons for that. The first is that libraries are executables and can have main functions (see libc). The second reason is that rpm script to extract debuginfo are looking for executables and then check if it is the right file to extract the info. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Feb 23 20:57:11 CET 2012 on sn-devel-104
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_install.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py
index 26d0a371e6d..5e53989c04f 100644
--- a/buildtools/wafsamba/samba_install.py
+++ b/buildtools/wafsamba/samba_install.py
@@ -134,7 +134,8 @@ def install_library(self):
# tell waf to install the library
bld.install_as(os.path.join(install_path, install_name),
- os.path.join(self.path.abspath(bld.env), inst_name))
+ os.path.join(self.path.abspath(bld.env), inst_name),
+ chmod=MODE_755)
if install_link and install_link != install_name:
# and the symlink if needed
bld.symlink_as(os.path.join(install_path, install_link), os.path.basename(install_name))