aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-05-18 10:14:34 +0300
committerLoïc Hoguin <[email protected]>2015-05-18 10:14:34 +0300
commit003ba8d7dba1d8a6dac4da62ced984e1a77b2125 (patch)
treeb0e763de17a4e9ff6aa2a287f21b641971089b65 /core
parent0441997539bc7e0c27b0109bab4b62217e1570fe (diff)
downloaderlang.mk-003ba8d7dba1d8a6dac4da62ced984e1a77b2125.tar.gz
erlang.mk-003ba8d7dba1d8a6dac4da62ced984e1a77b2125.tar.bz2
erlang.mk-003ba8d7dba1d8a6dac4da62ced984e1a77b2125.zip
Fix jiffy build
Breaks rafter build. Remove it temporarily.
Diffstat (limited to 'core')
-rw-r--r--core/deps.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/deps.mk b/core/deps.mk
index c0f7887..a69b153 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -289,8 +289,8 @@ define dep_autopatch_rebar.erl
case filelib:is_dir("$(DEPS_DIR)/$(1)/c_src") of
false -> ok;
true ->
- Sources = [[" ./c_src/", S] || S <- filelib:wildcard("*.{c,C,cc,cpp}", "$(DEPS_DIR)/$(1)/c_src")],
- Write(io_lib:format("SOURCES := ~s\n", [Sources]))
+ Sources = filelib:fold_files("$(DEPS_DIR)/$(1)/c_src", ".*\\\\.(c|C|cc|cpp)$$$$", true, fun(F, Acc) -> [F|Acc] end, []),
+ Write(io_lib:format("SOURCES :=~s\n", [[[" ", S] || S <- Sources]]))
end
end(),
Write("\n\nrebar_dep: pre-deps deps pre-app app\n"),