summaryrefslogtreecommitdiff
path: root/rebar.config.sample
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2016-08-10 13:10:55 -0400
committerFred Hebert <mononcqc@ferd.ca>2016-08-10 13:10:55 -0400
commitea7942d9477bf2b0e3fffb905c04d330536f6c53 (patch)
tree46c2cec600909164edb100f5361ab61ad5f1b009 /rebar.config.sample
parent8205d2424529975bbcf0b72c45b488a6b22702fb (diff)
Fix filtering of system libraries in escriptize
https://github.com/erlang/rebar3/pull/1249 introduced a mechanism by which escript dependencies of applications only would be included; this required adding a filter to skip system libraries in the OTP root because that tends to break escripts in very nasty ways. However, the problem came that some libraries are just not in the escript path but may still be included; for these libraries the path prefix check failed as they return `{error, bad_name}` from `code:lib_dir(Dep)` rather than just the path they're in -- specifically, this happens with top level apps. The issue was reported in https://github.com/erlang/rebar3/issues/1294 and the current patch fixes it by accepting a `bad_name` dep as valid, since it is obviously not in the root path.
Diffstat (limited to 'rebar.config.sample')
0 files changed, 0 insertions, 0 deletions