]> git.pld-linux.org Git - packages/fltk.git/commitdiff
- force ld.bfd auto/th/fltk-1.3.2-2
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 9 May 2013 18:16:10 +0000 (20:16 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 9 May 2013 18:16:10 +0000 (20:16 +0200)
fltk.spec

index 2b909e8ec54bc613a6482ca23e09858c97906d75..a3ac9679e01c72d1d75f41e9513b038208c12ba0 100644 (file)
--- 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 \
This page took 0.078798 seconds and 4 git commands to generate.