diff options
author | Andrew Sun | 2019-09-15 12:49:23 -0400 |
---|---|---|
committer | Andrew Sun | 2019-09-15 12:49:23 -0400 |
commit | 86f90c3e0ab2b787f87acac05f6b455b251fa35f (patch) | |
tree | d10064c9c63beafa0c48e49d657cbf73e90271c7 /0005-Fix-seems-to-be-moved.patch | |
parent | fd0c9b58c5307856b113ca7d0fbfec6eb8783568 (diff) | |
download | aur-mingw-w64-libtool.tar.gz |
mingw-w64-libtool: update to 2.4.6+42+gb88cebd5
Diffstat (limited to '0005-Fix-seems-to-be-moved.patch')
-rw-r--r-- | 0005-Fix-seems-to-be-moved.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/0005-Fix-seems-to-be-moved.patch b/0005-Fix-seems-to-be-moved.patch new file mode 100644 index 000000000000..73c249db391a --- /dev/null +++ b/0005-Fix-seems-to-be-moved.patch @@ -0,0 +1,24 @@ +[PATCH 5/6] Fix "seems to be moved" +* build-aux/ltmain.in (func_mode_link): Compare files by inode +to fix "seems to be moved" warning. +--- + build-aux/ltmain.in | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in +index af46cb8..244bb5b 100644 +--- a/build-aux/ltmain.in ++++ b/build-aux/ltmain.in +@@ -6283,7 +6283,9 @@ func_mode_link () + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + test -z "$libdir" && \ + func_fatal_error "'$deplib' is not a valid libtool archive" +- test "$absdir" != "$libdir" && \ ++ abs_inode=`ls -i "$deplib" | awk '{print $1}'` ++ lib_inode=`ls -i "$libdir/$(basename $deplib)" | awk '{print $1}'` ++ test "$abs_inode" != "$lib_inode" && \ + func_warning "'$deplib' seems to be moved" + + path=-L$absdir +-- +1.7.0.2.msysgit.0
\ No newline at end of file |