diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-09-23 18:07:02 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2024-09-23 18:07:02 +0000 |
commit | 22fa9a7ef0823174f8bfc79bf5fe46982e170a5b (patch) | |
tree | e8057627cde7507cdf908460d85dee2804b26bbd | |
parent | 2ff7dfc857e7362d14522ca176e983ec2d6a15e7 (diff) | |
download | s6-22fa9a7ef0823174f8bfc79bf5fe46982e170a5b.tar.xz |
Install static libraries in /usr/lib by default
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r-- | INSTALL | 14 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | configure | 18 | ||||
-rw-r--r-- | doc/index.html | 6 | ||||
-rw-r--r-- | doc/upgrade.html | 7 |
5 files changed, 19 insertions, 27 deletions
@@ -6,11 +6,11 @@ Build Instructions - A POSIX-compliant C development environment - GNU make version 3.81 or later - - skalibs version 2.14.2.1 or later: https://skarnet.org/software/skalibs/ - - Recommended: execline version 2.9.6.0 or later: https://skarnet.org/software/execline/ + - skalibs version 2.14.3.0 or later: https://skarnet.org/software/skalibs/ + - Recommended: execline version 2.9.6.1 or later: https://skarnet.org/software/execline/ (You can disable this requirement at configure time, but will lose some functionality.) - - Optional: nsss version 0.2.0.4 or later: https://skarnet.org/software/nsss/ + - Optional: nsss version 0.2.0.5 or later: https://skarnet.org/software/nsss/ This software will run on any operating system that implements POSIX.1-2008, available at: @@ -24,13 +24,7 @@ POSIX.1-2008, available at: will work for most users. It will install the binaries in /bin and the static libraries in -/usr/lib/s6. - - Please note that static libraries in /usr/lib/s6 *will not* -be found by a default linker invocation: you need -L/usr/lib/s6. -Other skarnet.org software automatically handles that case if the -default configuration is used, but if you change the configuration, -remember to use the appropriate --with-lib configure option. +/usr/lib. You can strip the binaries and libraries of their extra symbols via "make strip" before the "make install" phase. It will shave a few bytes @@ -4,6 +4,7 @@ In 2.13.0.1 ----------- - Bugfixes. + - Install static libraries in /usr/lib by default. In 2.13.0.0 @@ -21,11 +21,11 @@ Fine tuning of the installation directories: --dynlibdir=DIR shared library files [PREFIX/lib] --bindir=BINDIR user executables [EPREFIX/bin] --libexecdir=DIR package-scoped executables [EPREFIX/libexec] - --libdir=DIR static library files [PREFIX/lib/$package] + --libdir=DIR static library files [PREFIX/lib] --includedir=DIR C header files [PREFIX/include] If no --prefix option is given, by default libdir (but not dynlibdir) will be - /usr/lib/$package, and includedir will be /usr/include. + /usr/lib, and includedir will be /usr/include. Dependencies: --with-sysdeps=DIR use sysdeps in DIR [PREFIX/lib/skalibs/sysdeps] @@ -140,7 +140,7 @@ exec_prefix='$prefix' dynlibdir='$prefix/lib' libexecdir='$exec_prefix/libexec' bindir='$exec_prefix/bin' -libdir='$prefix/lib/$package' +libdir='$prefix/lib' includedir='$prefix/include' sysdeps='$prefix/lib/skalibs/sysdeps' manualsysdeps=false @@ -207,8 +207,8 @@ done # Add /usr in the default default case if test -z "$prefix" ; then - if test "$libdir" = '$prefix/lib/$package' ; then - libdir=/usr/lib/$package + if test "$libdir" = '$prefix/lib' ; then + libdir=/usr/lib fi if test "$includedir" = '$prefix/include' ; then includedir=/usr/include @@ -365,14 +365,6 @@ fi LDFLAGS_SHARED="${LDFLAGS_SHARED}${addlibdpath}" -if test -z "$vpaths" ; then - while read dep ; do - base=$(basename $dep) ; - vpaths="$vpaths /usr/lib/$base" - addlibspath="$addlibspath -L/usr/lib/$base" - done < package/deps-build -fi - if $allstatic ; then LDFLAGS_NOSHARED="${LDFLAGS_NOSHARED}${addlibspath}" tryldflag LDFLAGS_NOSHARED -Wl,--gc-sections diff --git a/doc/index.html b/doc/index.html index 4d88f4f..4dc2771 100644 --- a/doc/index.html +++ b/doc/index.html @@ -83,12 +83,12 @@ with s6</a> </li> <li> A POSIX-compliant system with a standard C development environment </li> <li> GNU make, version 3.81 or later </li> <li> <a href="//skarnet.org/software/skalibs/">skalibs</a> version -2.14.2.1 or later. It's a build-time requirement. It's also a run-time +2.14.3.0 or later. It's a build-time requirement. It's also a run-time requirement if you link against the shared version of the skalibs library. </li> <li> (Optional, but really recommended for full functionality): <a href="//skarnet.org/software/execline/">execline</a> version -2.9.6.0 or later. When s6 is built with execline support (which is the default), +2.9.6.1 or later. When s6 is built with execline support (which is the default), execline is a build-time requirement, and also a run-time requirement for certain binaries that spawn scripts interpreted with <a href="//skarnet.org/software/execline/execlineb.html">execlineb</a>. </li> @@ -102,7 +102,7 @@ certain binaries that spawn scripts interpreted with <li> If you're using <a href="https://www.musl-libc.org/">musl</a> and want nsswitch-like functionality: <a href="//skarnet.org/software/nsss/">nsss</a> version -0.2.0.4 or later (build-time and boot-time) </li> +0.2.0.5 or later (build-time and boot-time) </li> </ul> <h3> Licensing </h3> diff --git a/doc/upgrade.html b/doc/upgrade.html index daf2490..d675f5d 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -22,7 +22,12 @@ <ul> <li> <a href="//skarnet.org/software/skalibs/">skalibs</a> -dependency bumped to 2.14.2.1. </li> +dependency bumped to 2.14.3.0. </li> + <li> <a href="//skarnet.org/software/nsss/">nsss</a> +optional dependency bumped to 0.2.0.5. </li> + <li> <a href="//skarnet.org/software/execline/">execline</a> +recommended dependency bumped to 2.9.6.1. </li> + <li> Static libraries are installed in <tt>/usr/lib</tt> by default. </li> </ul> <h2> in 2.13.0.0 </h2> |