mirror of
https://gitee.com/openharmony/third_party_libbpf
synced 2024-10-07 06:23:25 +00:00
install: don't preserve file owner
'cp -p' preserve file ownership, this may leave files owned by the current in user in /lib . Signed-off-by: Matteo Croce <mcroce@microsoft.com>
This commit is contained in:
parent
a199b85415
commit
767d82caab
@ -130,7 +130,7 @@ define do_s_install
|
||||
$(Q)if [ ! -d '$(DESTDIR)$2' ]; then \
|
||||
$(INSTALL) -d -m 755 '$(DESTDIR)$2'; \
|
||||
fi;
|
||||
$(Q)cp -fpR $1 '$(DESTDIR)$2'
|
||||
$(Q)cp -fR $1 '$(DESTDIR)$2'
|
||||
endef
|
||||
|
||||
install: all install_headers install_pkgconfig
|
||||
|
Loading…
Reference in New Issue
Block a user