<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div><div>You must also set: <br></div>
<div> </div>
<div>{system_libs, false}.<br></div>
<div> </div>
<div>I've been undecided on making a single config variable that says to not include erts or system libs.<br></div>
<div> </div>
<div>Or you can set it to include another erts, which could be compiled for the platform you are deploying to:<br></div>
<div> </div>
<div>{include_erts, "/path/to/erts"}.<br></div>
</div>
<div> </div>
<div>I'm working on documentation as well. Currently it is within the rebar3 project, <a href="http://www.rebar3.org/v1.0/docs/releases">http://www.rebar3.org/v1.0/docs/releases</a>, but is the same for using relx on its own or with erlang.mk (except that you have to have a relx.config and can't use profiles). But I'll be creating a relx only set of docs similar to these.<br></div>
<div> </div>
<div>Tristan<br></div>
<div> </div>
<div>On Thu, Dec 18, 2014, at 11:09 AM, Max Lapshin wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div> </div>
<div>I've made simple project with <a defang_rel="noreferrer" href="http://erlang.mk">erlang.mk</a> and relx.config:<br></div>
<div> </div>
<div><div>{release, {peeklio, "0.1"},<br></div>
<div> [peeklio]}.<br></div>
<div> </div>
<div>{extended_start_script, true}.<br></div>
<div> </div>
<div>{include_erts, false}.<br></div>
</div>
<div> </div>
<div> </div>
<div>I compile it under MacOS and copy _rel/... to linux. It doesn't work because<br></div>
<div>crypto library is copied with MacOS .so<br></div>
<div> </div>
<div>How should I force relx to make some output that will use erlang from system?<br></div>
<div> </div>
</div>
<div><u>_______________________________________________</u><br></div>
<div>erlang-questions mailing list<br></div>
<div><a defang_rel="noreferrer" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br></div>
<div><a defang_rel="noreferrer" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br></div>
</blockquote><div> </div>
</body>
</html>