aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLars Kroll <[email protected]>2019-08-14 12:12:17 +0200
committerLoïc Hoguin <[email protected]>2019-08-29 17:16:11 +0200
commit82179575d9191305805c8e6e8107be7c3f80a6be (patch)
tree90a296dbad579c390a038f94bf59cd9c53d9215b /core
parentb0e0c1a4a8b8e32a150af5ac9b94aafaef9fdb8f (diff)
downloaderlang.mk-82179575d9191305805c8e6e8107be7c3f80a6be.tar.gz
erlang.mk-82179575d9191305805c8e6e8107be7c3f80a6be.tar.bz2
erlang.mk-82179575d9191305805c8e6e8107be7c3f80a6be.zip
Build symlinked source files
Diffstat (limited to 'core')
-rw-r--r--core/core.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/core.mk b/core/core.mk
index 1f68cfc..855d798 100644
--- a/core/core.mk
+++ b/core/core.mk
@@ -185,7 +185,7 @@ core_http_get = curl -Lf$(if $(filter-out 0,$(V)),,s)o $(call core_native_path,$
core_eq = $(and $(findstring $(1),$(2)),$(findstring $(2),$(1)))
# We skip files that contain spaces because they end up causing issues.
-core_find = $(if $(wildcard $1),$(shell find $(1:%/=%) -type f -name $(subst *,\*,$2) | grep -v " "))
+core_find = $(if $(wildcard $1),$(shell find $(1:%/=%) \( -type l -o -type f \) -name $(subst *,\*,$2) | grep -v " "))
core_lc = $(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f,$(subst G,g,$(subst H,h,$(subst I,i,$(subst J,j,$(subst K,k,$(subst L,l,$(subst M,m,$(subst N,n,$(subst O,o,$(subst P,p,$(subst Q,q,$(subst R,r,$(subst S,s,$(subst T,t,$(subst U,u,$(subst V,v,$(subst W,w,$(subst X,x,$(subst Y,y,$(subst Z,z,$(1)))))))))))))))))))))))))))