25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-10 16:58:46 +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
defp erlc_options do
includes = Path.wildcard(Path.join("..", "/*/include"))
[:debug_info, {:d, :NO_EXT_LIB}] ++ Enum.map(includes, fn(path) -> {:i, path} end)
# Use our own includes + includes from all dependencies
includes = ["include"] + Path.wildcard(Path.join("..", "/*/include"))
[:debug_info] ++ Enum.map(includes, fn(path) -> {:i, path} end)
end
defp deps do