diff options
Diffstat (limited to 'ltmain.sh.as-needed.patch')
-rw-r--r-- | ltmain.sh.as-needed.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/ltmain.sh.as-needed.patch b/ltmain.sh.as-needed.patch deleted file mode 100644 index c9c12b4f..00000000 --- a/ltmain.sh.as-needed.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- ltmain.sh 2009-09-11 11:29:46.000000000 +0300 -+++ ltmain.sh-good 2009-09-11 11:28:46.000000000 +0300 -@@ -4716,6 +4716,11 @@ - arg=$func_stripname_result - ;; - -+ -Wl,--as-needed) -+ deplibs="$deplibs $arg" -+ continue -+ ;; -+ - -Wl,*) - func_stripname '-Wl,' '' "$arg" - args=$func_stripname_result -@@ -5070,6 +5075,16 @@ - lib= - found=no - case $deplib in -+ -Wl,--as-needed) -+ if test "$linkmode,$pass" = "prog,link"; then -+ compile_deplibs="$deplib $compile_deplibs" -+ finalize_deplibs="$deplib $finalize_deplibs" -+ else -+ deplibs="$deplib $deplibs" -+ fi -+ continue -+ ;; -+ - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" |