diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-10-11 10:49:59 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-10-11 10:49:59 +0200 |
commit | e66927826721685024625db0769a27a2d72b1aec (patch) | |
tree | f0d5bd4850a2837c0f4c5d9fb44047e8c8cc963d /core/toolchain | |
parent | df38bd0d2ffcfdf36c2992aaa2d852dbf3bb1c7f (diff) | |
download | embtoolkit-e66927826721685024625db0769a27a2d72b1aec.tar.gz embtoolkit-e66927826721685024625db0769a27a2d72b1aec.tar.bz2 embtoolkit-e66927826721685024625db0769a27a2d72b1aec.tar.xz |
Toolchain: binutils: also patch DLOPEN_LIBS for -ldl on BSD systems
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'core/toolchain')
-rw-r--r-- | core/toolchain/binutils/binutils.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/toolchain/binutils/binutils.mk b/core/toolchain/binutils/binutils.mk index 9e28258..acaf1e7 100644 --- a/core/toolchain/binutils/binutils.mk +++ b/core/toolchain/binutils/binutils.mk @@ -46,7 +46,8 @@ define embtk_beforeinstall_binutils __srcdir=$(call __embtk_pkg_srcdir,binutils); \ mkfiles=$$(find $${__srcdir} -type f -name 'Makefile.in'); \ for m in $${mkfiles}; do \ - sed -e 's/-ldl//g' < $$m > $$m.tmp; \ + sed -e 's/-ldl//g' -e 's/@DLOPEN_LIBS@//g' \ + < $$m > $$m.tmp; \ mv $$m.tmp $$m; \ done;) bfdtxi=$(call __embtk_pkg_srcdir,binutils)/bfd/doc/bfd.texinfo; \ |