diff --git a/package/pkg-download.mk b/package/pkg-download.mk index 6f15deba28..f398d16871 100644 --- a/package/pkg-download.mk +++ b/package/pkg-download.mk @@ -31,8 +31,8 @@ else BR2_DL_DIR = $(DL_DIR) endif -# ensure it exists and a absolute path -DL_DIR := $(shell mkdir -p $(DL_DIR) && cd $(DL_DIR) >/dev/null && pwd) +# ensure it exists and a absolute path, derefrecing symlinks +DL_DIR := $(shell mkdir -p $(DL_DIR) && cd $(DL_DIR) >/dev/null && pwd -P) # # URI scheme helper functions