mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
libcap: fix target install
/usr/lib/libcap.so.* was installed via "install -D" but libcap.so.2 is a symlink so it was dereferenced. Also update the buildsystem patch so that the shared lib is +X. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
10d23ec6b3
commit
0c4cf012fa
@@ -12,7 +12,8 @@ define LIBCAP_INSTALL_STAGING_CMDS
|
||||
endef
|
||||
|
||||
define LIBCAP_INSTALL_TARGET_CMDS
|
||||
install -D $(STAGING_DIR)/usr/lib/libcap.so.* $(TARGET_DIR)/usr/lib
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) LIBATTR=no DESTDIR=$(TARGET_DIR) prefix=/usr lib=lib install
|
||||
rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,capsh getpcaps)
|
||||
endef
|
||||
|
||||
define HOST_LIBCAP_BUILD_CMDS
|
||||
|
||||
Reference in New Issue
Block a user