Correct the output path of NIF library for being used as a dependency of another project

This commit is contained in:
mingshun
2015-10-03 12:43:21 +08:00
parent 5c621231ae
commit 9621cc5b26

View File

@@ -118,7 +118,7 @@ defmodule Geef.Mixfile do
end end
def nif do def nif do
[ file: "priv/geef.so", [ file: "#{Path.join [__DIR__, "priv", "geef.so"]}",
flags: "-lgit2" ] flags: "-lgit2" ]
end end