From be3527803a1df31db2bfd78ffb40c5be60308aff Mon Sep 17 00:00:00 2001 From: Manfroi Fabrice Date: Fri, 2 Dec 2016 09:17:58 +0100 Subject: [PATCH] fix libxslt 1.1.29 build solaris * Fix libxslt build on Solaris platforms --- lib-xmlsoft-libxslt/src/configure | 9 ++++++++- lib-xmlsoft-libxslt/src/configure.in | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/lib-xmlsoft-libxslt/src/configure b/lib-xmlsoft-libxslt/src/configure index c190661..2980e9e 100755 --- a/lib-xmlsoft-libxslt/src/configure +++ b/lib-xmlsoft-libxslt/src/configure @@ -13585,7 +13585,14 @@ VERSION_SCRIPT_FLAGS=none if $LD --help 2>&1 | grep "version-script" >/dev/null 2>/dev/null; then VERSION_SCRIPT_FLAGS=-Wl,--version-script= elif $LD --help 2>&1 | grep "M mapfile" >/dev/null 2>/dev/null; then - VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," + case $host_os in + solaris* ) + VERSION_SCRIPT_FLAGS="" + ;; + * ) + VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," + ;; + esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VERSION_SCRIPT_FLAGS" >&5 $as_echo "$VERSION_SCRIPT_FLAGS" >&6; } diff --git a/lib-xmlsoft-libxslt/src/configure.in b/lib-xmlsoft-libxslt/src/configure.in index 8bdf45a..c5a4a0f 100755 --- a/lib-xmlsoft-libxslt/src/configure.in +++ b/lib-xmlsoft-libxslt/src/configure.in @@ -135,7 +135,14 @@ VERSION_SCRIPT_FLAGS=none if $LD --help 2>&1 | grep "version-script" >/dev/null 2>/dev/null; then VERSION_SCRIPT_FLAGS=-Wl,--version-script= elif $LD --help 2>&1 | grep "M mapfile" >/dev/null 2>/dev/null; then - VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," + case $host_os in + solaris* ) + VERSION_SCRIPT_FLAGS="" + ;; + * ) + VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," + ;; + esac fi AC_MSG_RESULT([$VERSION_SCRIPT_FLAGS]) AC_SUBST(VERSION_SCRIPT_FLAGS) -- 2.1.4