Add runtime link with libdl.

Resolves: #889134
This commit is contained in:
Nick Clifton 2013-01-02 14:54:46 +00:00
parent 4292cb60ec
commit 7abab3da96

View File

@ -17,7 +17,7 @@
Summary: A GNU collection of binary utilities Summary: A GNU collection of binary utilities
Name: %{?cross}binutils%{?_with_debug:-debug} Name: %{?cross}binutils%{?_with_debug:-debug}
Version: 2.23.51.0.8 Version: 2.23.51.0.8
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv3+ License: GPLv3+
Group: Development/Tools Group: Development/Tools
URL: http://sources.redhat.com/binutils URL: http://sources.redhat.com/binutils
@ -315,7 +315,8 @@ tee %{buildroot}%{_libdir}/libbfd.so <<EOH
$OUTPUT_FORMAT $OUTPUT_FORMAT
/* The libz dependency is unexpected by legacy build scripts. */ /* The libz dependency is unexpected by legacy build scripts. */
INPUT ( %{_libdir}/libbfd.a -liberty -lz ) /* The libdl dependency is for plugin support. (BZ 889134) */
INPUT ( %{_libdir}/libbfd.a -liberty -lz -ldl )
EOH EOH
tee %{buildroot}%{_libdir}/libopcodes.so <<EOH tee %{buildroot}%{_libdir}/libopcodes.so <<EOH
@ -443,6 +444,9 @@ exit 0
%endif # %{isnative} %endif # %{isnative}
%changelog %changelog
* Wed Jan 02 2013 Nick Clifton <nickc@redhat.com> - 2.23.51.0.8-2
- Add dependency upon libdl. (#889134)
* Wed Jan 02 2013 Nick Clifton <nickc@redhat.com> - 2.23.51.0.8-1 * Wed Jan 02 2013 Nick Clifton <nickc@redhat.com> - 2.23.51.0.8-1
- Rebase on 2.23.51.0.8 release. (#890382) - Rebase on 2.23.51.0.8 release. (#890382)