[Buildroot] [PATCH v2 2/2] lockdev: add lockdev
Arnout Vandecappelle
arnout at mind.be
Wed May 8 06:01:36 UTC 2013
On 07/05/13 23:05, Yann E. MORIN wrote:
>> >+define LOCKDEV_INSTALL_TARGET_CMDS
>> >+ $(MAKE1) basedir=$(TARGET_DIR)/usr -C $(@D) install
>> >+ ln -sf $(TARGET_DIR)/usr/lib/liblockdev.$(LOCKDEV_VERSION).so $(TARGET_DIR)/usr/lib/liblockdev.so
>> >+ ln -sf $(TARGET_DIR)/usr/lib/liblockdev.$(LOCKDEV_VERSION).so $(TARGET_DIR)/usr/lib/liblockdev.so.1
> What is the SONAME of the library? You only need to install the library
> to a file named as the SONAME, not any other symlink is required.
>
> But of course, if "development files on target" are selected you need
> the .so symlink (but devel-files-on-target this is deprecated now).
But aren't these links created automatically by ldconfig in
target-finalize? For staging it is still needed, of course.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
More information about the buildroot
mailing list