1 Description: Work around libtool --as-needed reordering bug
3 Bug-Debian: http://bugs.debian.org/347650
5 Author: Alessandro Ghedini <ghedo@debian.org>
6 Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
7 Last-Update: 2016-08-03
11 @@ -7220,6 +7220,11 @@
12 arg=$func_stripname_result
15 + -Wl,--as-needed|-Wl,--no-as-needed)
16 + deplibs="$arg $deplibs"
21 func_stripname '-Wl,' '' "$arg"
22 args=$func_stripname_result
23 @@ -7610,6 +7615,15 @@
27 + -Wl,--as-needed|-Wl,--no-as-needed)
28 + if test "$linkmode,$pass" = "prog,link"; then
29 + compile_deplibs="$deplib $compile_deplibs"
30 + finalize_deplibs="$deplib $finalize_deplibs"
32 + deplibs="$deplib $deplibs"
36 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
37 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
38 if test prog,link = "$linkmode,$pass"; then