From aed0735862f9517c49918bb4e4b444427d924b2e Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 23 Feb 2012 11:05:09 +0100 Subject: 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 Autobuild-Date: Thu Feb 23 20:57:11 CET 2012 on sn-devel-104 --- buildtools/wafsamba/samba_install.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'buildtools/wafsamba/samba_install.py') diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py index 26d0a371e6..5e53989c04 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)) -- cgit