Skip to content

Commit

Permalink
[repo] handle backslash native path DESTDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoconlechuga committed Nov 12, 2024
1 parent 93c7d56 commit cd740c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RELEASE_NAME = linux
endif
endif

INSTALL_DIR := $(patsubst %/,%,$(DESTDIR))/$(PREFIX)
INSTALL_DIR := $(patsubst %/,%,$(subst \,/,$(DESTDIR)))/$(PREFIX)
INSTALL_PATH := $(call QUOTE_ARG,$(call NATIVEPATH,$(INSTALL_DIR)))
INSTALL_EXAMPLES := $(call QUOTE_ARG,$(call NATIVEPATH,$(INSTALL_DIR)/examples))
INSTALL_LIB := $(call QUOTE_ARG,$(call NATIVEPATH,$(INSTALL_DIR)/lib/libload))
Expand Down

0 comments on commit cd740c7

Please sign in to comment.