Skip to content

Commit

Permalink
add define of EMBEDDED_INIT for the internal build of batteries for b…
Browse files Browse the repository at this point in the history
…undle_zetetic. basically, that case needs the same linker trick as the one we use for other builds. see ericsink#235
  • Loading branch information
ericsink committed Oct 17, 2018
1 parent 629847b commit 9dff9cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gen_build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1105,6 +1105,7 @@ public static config_csproj create_internal_batteries_zetetic(string area, int v
cfg.name = string.Format("{0}.v{1}.{2}.{3}.{4}", cfg.root_name, ver, area, "internal", env);
set_batteries_version(cfg, ver);
cfg.defines.Add("PROVIDER_internal");
cfg.defines.Add("EMBEDDED_INIT");
cfg.ref_core = true;
cfg.ref_provider = "internal";
return cfg;
Expand Down

0 comments on commit 9dff9cb

Please sign in to comment.