From 9621cc5b2695535129463cd7bf7d12c3eb2d88ac Mon Sep 17 00:00:00 2001 From: mingshun Date: Sat, 3 Oct 2015 12:43:21 +0800 Subject: [PATCH] Correct the output path of NIF library for being used as a dependency of another project --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index e99ca25..17a9752 100644 --- a/mix.exs +++ b/mix.exs @@ -118,7 +118,7 @@ defmodule Geef.Mixfile do end def nif do - [ file: "priv/geef.so", + [ file: "#{Path.join [__DIR__, "priv", "geef.so"]}", flags: "-lgit2" ] end