[packages/fltk] - force ld.bfd

qboosh qboosh at pld-linux.org
Thu May 9 20:16:21 CEST 2013


commit 8ac83007f058950b37664d253f9241bc0a19edba
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu May 9 20:16:10 2013 +0200

    - force ld.bfd

 fltk.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/fltk.spec b/fltk.spec
index 2b909e8..a3ac967 100644
--- a/fltk.spec
+++ b/fltk.spec
@@ -157,6 +157,12 @@ Gry FLTK: Atak Klocków!, Warcaby, Sudoku.
 %patch3 -p1
 
 %build
+# gold doesn't understand -l:path/to/library.so
+if [ -x /usr/bin/ld.bfd ]; then
+	install -d ld-dir
+	ln -sf /usr/bin/ld.bfd ld-dir/ld
+	export PATH=$(pwd)/ld-dir:$PATH
+fi
 %{__autoconf}
 %configure \
 	--enable-largefile \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fltk.git/commitdiff/8ac83007f058950b37664d253f9241bc0a19edba



More information about the pld-cvs-commit mailing list