summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2017-10-10 17:38:43 +0200
committerMichael Haubenwallner <haubi@gentoo.org>2020-03-12 08:35:47 +0100
commit71158123fe7bf653625ac1f5dea1a941786663c0 (patch)
tree19b338643bb2e96392b64f5d40c5dac16640dad6 /patches/winnt-conf/2.4.6-strip
parentUse explicit tool vars instead of aliases (diff)
downloadelt-patches-71158123fe7bf653625ac1f5dea1a941786663c0.tar.gz
elt-patches-71158123fe7bf653625ac1f5dea1a941786663c0.tar.bz2
elt-patches-71158123fe7bf653625ac1f5dea1a941786663c0.zip
add lt-2.4.6 winnt patches for use with parity-2
If a package does not have libtool-2.4.6 there is no guarantee things will work, and the package should use eautoreconf instead. Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
Diffstat (limited to 'patches/winnt-conf/2.4.6-strip')
-rw-r--r--patches/winnt-conf/2.4.6-strip30
1 files changed, 30 insertions, 0 deletions
diff --git a/patches/winnt-conf/2.4.6-strip b/patches/winnt-conf/2.4.6-strip
new file mode 100644
index 0000000..7cb0eec
--- /dev/null
+++ b/patches/winnt-conf/2.4.6-strip
@@ -0,0 +1,30 @@
+--- configure
++++ configure
+@@ -13171,14 +13281,24 @@
+ striplib=
+ old_striplib=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
+ $as_echo_n "checking whether stripping libraries is possible... " >&6; }
+ if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+- test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++ case $host_os in
++ winnt*)
++ # Stripping is not save here, since POSIXish host utils may
++ # be detected, but we operate on native windows libraries.
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++ ;;
++ *)
++ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ $as_echo "yes" >&6; }
++ ;;
++ esac
+ else
+ # FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP"; then