mkinitrd-recovery: Fix incorrect library dependency verification 78/154078/2
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Fri, 6 Oct 2017 08:58:00 +0000 (10:58 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Fri, 6 Oct 2017 12:28:48 +0000 (14:28 +0200)
Without this commit dependencies for objects listed in MVWITHLIBS
were not correctly generated.

Change-Id: Ia7c99a6a6afbf8a83ef66c84da562ecbe7495d27

src/initrd-recovery/mkinitrd-recovery.sh.in

index 18e3173..5ed01d8 100755 (executable)
@@ -191,7 +191,7 @@ mvwithlib_objects() {
 
         do_copy $content
 
-        "$LD_LINUX" --verify $1
+        "$LD_LINUX" --verify $content
         if [ $? -eq 0 ]; then
             DEP_LIBS=$(get_dep_libs $content)
             for lib in $DEP_LIBS; do