[Buildroot] [PATCHv2] libcap: fix target install
Peter Korsgaard
jacmet at uclibc.org
Wed Dec 29 08:21:54 UTC 2010
>>>>> "Gustavo" == Gustavo Zacarias <gustavo at zacarias.com.ar> writes:
Gustavo> /usr/lib/libcap.so.* was installed via "install -D" but libcap.so.2 is
Gustavo> a symlink so it was dereferenced.
Gustavo> Also update the buildsystem patch so that the shared lib is +X.
Gustavo> define LIBCAP_INSTALL_TARGET_CMDS
Gustavo> - install -D $(STAGING_DIR)/usr/lib/libcap.so.* $(TARGET_DIR)/usr/lib
Gustavo> + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) LIBATTR=no DESTDIR=$(TARGET_DIR) prefix=/usr lib=lib install
Gustavo> + $(RM) -f $(addprefix $(TARGET_DIR)/usr/sbin/,capsh getpcaps)
Gustavo> endef
We use raw 'rm' plenty of other places, so I've fixed that.
Committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list