Try to work around the fact that $lt_cv_prog_gnu_ld doesn't work
This commit is contained in:
parent
9ec3838786
commit
f4721ccdc2
@ -1,15 +1,23 @@
|
||||
commit 00819877651b87842ed878898ba17dba489820f0
|
||||
Author: Daniel Veillard <veillard@redhat.com>
|
||||
Date: Thu Nov 4 21:53:14 2010 +0100
|
||||
|
||||
Reactivate the shared library versionning script
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 59d0629..a1d2c89 100644
|
||||
index 59d0629..39b66dd 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -84,7 +84,7 @@ else
|
||||
@@ -75,6 +75,8 @@ dnl if the system support linker version scripts for symbol versioning
|
||||
dnl then add it
|
||||
dnl
|
||||
VERSION_SCRIPT_FLAGS=
|
||||
+echo host $host
|
||||
+echo lt_cv_prog_gnu_ld $lt_cv_prog_gnu_ld
|
||||
# lt_cv_prog_gnu_ld is from libtool 2.+
|
||||
if test "$lt_cv_prog_gnu_ld" = yes; then
|
||||
VERSION_SCRIPT_FLAGS=-Wl,--version-script=
|
||||
@@ -82,9 +84,12 @@ else
|
||||
case $host in
|
||||
*-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
|
||||
esac
|
||||
+ case $host in
|
||||
+ *-*-linux*) VERSION_SCRIPT_FLAGS="-Wl,--version-script=";;
|
||||
+ esac
|
||||
fi
|
||||
AC_SUBST(VERSION_SCRIPT_FLAGS)
|
||||
-AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -z "$VERSION_SCRIPT_FLAGS"])
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: Library providing XML and HTML support
|
||||
Name: libxml2
|
||||
Version: 2.7.8
|
||||
Release: 2%{?dist}%{?extra_release}
|
||||
Release: 3%{?dist}%{?extra_release}
|
||||
License: MIT
|
||||
Group: Development/Libraries
|
||||
Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
|
||||
@ -143,6 +143,10 @@ rm -fr %{buildroot}
|
||||
%doc doc/python.html
|
||||
|
||||
%changelog
|
||||
* Fri Nov 5 2010 Daniel Veillard <veillard@redhat.com> - 2.7.8-3
|
||||
- workaround the fact that $lt_cv_prog_gnu_ld in configure doesn't
|
||||
seems to work on rawhide
|
||||
|
||||
* Thu Nov 4 2010 Daniel Veillard <veillard@redhat.com> - 2.7.8-2
|
||||
- reactivate shared libs versionning script
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user