lockdev: Fix TARGET_DIR link
authorBernd Kuhls <berndkuhls@hotmail.com>
Sun, 29 Dec 2013 17:31:27 +0000 (18:31 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 29 Dec 2013 17:48:45 +0000 (18:48 +0100)
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lockdev/lockdev.mk

index 004b637b697115ff6770332ea3b501c730141c8f..0c103417127e0cac1db4710b0ffa01410bbbac6b 100644 (file)
@@ -34,7 +34,7 @@ endef
 
 define LOCKDEV_INSTALL_TARGET_CMDS
        $(MAKE1) basedir=$(TARGET_DIR)/usr -C $(@D) install_run
-       ln -sf liblockdev.$(LOCKDEV_VERSION).so $(STAGING_DIR)/usr/lib/liblockdev.so.1
+       ln -sf liblockdev.$(LOCKDEV_VERSION).so $(TARGET_DIR)/usr/lib/liblockdev.so.1
 endef
 endif # BR2_PREFER_STATIC_LIB