]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Install shared libraries as executable 1135/head
authorRobbie Harwood <rharwood@redhat.com>
Tue, 23 Aug 2016 20:45:26 +0000 (16:45 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 19 Nov 2020 20:14:48 +0000 (15:14 -0500)
RPM expects this behavior, and systems with contrary policies (like
Debian) address permissions at the packaging layer.  Most other build
systems appear to install shared libraries as executable.

[ghudson@mit.edu: edited commit message]

ticket: 8965 (new)

src/config/shlib.conf

index 3e4af6c02ed4f6382a0e90c189e1c6731c362828..75b7cc3af63d7aba04a0bbf98b3c9c700ba9244d 100644 (file)
@@ -22,8 +22,10 @@ SHLIBVEXT=.so.v-nobuild
 SHLIBSEXT=.so.s-nobuild
 # Most systems support profiled libraries.
 PFLIBEXT=_p.a
-# Most systems install shared libs as mode 644, etc. while hpux wants 755
-INSTALL_SHLIB='$(INSTALL_DATA)'
+# Install libraries executable.  Some systems (e.g., RPM-based ones) require
+# this for package dependency generation, while others are ambivalent or will
+# strip it during packaging.
+INSTALL_SHLIB='$(INSTALL)'
 # Most systems use the same objects for shared libraries and dynamically
 # loadable objects.
 DYNOBJEXT='$(SHLIBEXT)'
@@ -118,7 +120,6 @@ alpha*-dec-osf*)
 # -O +dpv should display any routines eliminated as unused, but -b
 #        apparently turns that off
 *-*-hpux*)
-       INSTALL_SHLIB='$(INSTALL)'
        case $host_cpu in
        hppa*)
                SHLIBEXT=.sl