mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
add $libdir/include to include path
This commit is contained in:
parent
087718c47a
commit
0145594adc
1 changed files with 5 additions and 2 deletions
|
@ -601,8 +601,11 @@ compile(LibDir, DepsDir) ->
|
|||
Bin = filename:join(LibDir, "ebin"),
|
||||
Lib = filename:join(LibDir, "lib"),
|
||||
Src = filename:join(LibDir, "src"),
|
||||
Includes = [{i, Inc} || Inc <- filelib:wildcard(DepsDir++"/**/include")],
|
||||
Options = [{outdir, Bin}, {i, LibDir++"/.."} | Includes ++ compile_options()],
|
||||
Includes = [ {i, Inc} || Inc <- filelib:wildcard(DepsDir++"/**/include") ],
|
||||
Options = [ {outdir, Bin},
|
||||
{i, LibDir++"/.."},
|
||||
{i, filename:join(LibDir, "include")}
|
||||
| Includes ++ compile_options()],
|
||||
?DEBUG("compile options: ~p", [Options]),
|
||||
filelib:ensure_dir(filename:join(Bin, ".")),
|
||||
[copy(App, filename:join(Bin, filename:basename(App, ".src"))) || App <- filelib:wildcard(Src++"/*.app*")],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue