]> granicus.if.org Git - ejabberd/commitdiff
Use our own includes + includes from all dependencies
authorMickael Remond <mremond@process-one.net>
Mon, 7 Sep 2015 15:35:58 +0000 (17:35 +0200)
committerMickael Remond <mremond@process-one.net>
Mon, 7 Sep 2015 15:35:58 +0000 (17:35 +0200)
mix.exs

diff --git a/mix.exs b/mix.exs
index 99e00b0d883c4bb43dabe48e6eff4bef063cb1e9..b71d3cc08f8c4c8e96dfbd4fea117b0b556ddc96 100644 (file)
--- a/mix.exs
+++ b/mix.exs
@@ -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