Skip to content

Commit 2f32a15

Browse files
committed
Fix make-install target on mac.
1 parent df8481a commit 2f32a15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: mk/install.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
# destination directory as arg 2, and filename/libname-glob as arg 3
77
ifdef VERBOSE
88
INSTALL = install -m755 $(1)/$(3) $(2)/$(3)
9-
INSTALL_LIB = install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/
9+
INSTALL_LIB = install -m644 `ls -drt1 $(1)/$(3) | tail -1` $(2)/
1010
else
1111
INSTALL = $(Q)$(call E, install: $(2)/$(3)) && install -m755 $(1)/$(3) $(2)/$(3)
1212
INSTALL_LIB = $(Q)$(call E, install_lib: $(2)/$(3)) && \
13-
install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/
13+
install -m644 `ls -drt1 $(1)/$(3) | tail -1` $(2)/
1414
endif
1515

1616
# The stage we install from

0 commit comments

Comments
 (0)