25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Use our own includes + includes from all dependencies

This commit is contained in:
Mickael Remond 2015-09-07 17:35:58 +02:00
parent 64d1efa6f2
commit 420cf68ecd

View File

@ -21,8 +21,9 @@ defmodule Ejabberd.Mixfile do
end end
defp erlc_options do defp erlc_options do
includes = Path.wildcard(Path.join("..", "/*/include")) # Use our own includes + includes from all dependencies
[:debug_info, {:d, :NO_EXT_LIB}] ++ Enum.map(includes, fn(path) -> {:i, path} end) includes = ["include"] + Path.wildcard(Path.join("..", "/*/include"))
[:debug_info] ++ Enum.map(includes, fn(path) -> {:i, path} end)
end end
defp deps do defp deps do