mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-15 00:04:23 +08:00
btrfs-progs: do not install static binaries over non-static
The builds should be able to coexist, so we don't want to forcibly overwite the standard version. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
38c5382e3f
commit
7c41d25ec6
@ -344,8 +344,10 @@ install: $(libs) $(progs_install) $(INSTALLDIRS)
|
||||
|
||||
install-static: $(progs_static) $(INSTALLDIRS)
|
||||
for p in $(progs_static) ; do \
|
||||
$(INSTALL) -D -m755 $$p $(DESTDIR)$(bindir)/`basename $$p .static` ; \
|
||||
$(INSTALL) -D -m755 $$p $(DESTDIR)$(bindir)/ ; \
|
||||
done
|
||||
# btrfsck is a link to btrfs in the src tree, make it so for installed file as well
|
||||
$(LN_S) -f btrfs.static $(DESTDIR)$(bindir)/btrfsck.static
|
||||
|
||||
$(INSTALLDIRS):
|
||||
@echo "Making install in $(patsubst install-%,%,$@)"
|
||||
|
Loading…
Reference in New Issue
Block a user