Permalink
Browse files

Compile libgit2 with -fPIC

  • Loading branch information...
ben committed Jul 1, 2013
1 parent de86dd4 commit 3ac210a6c853649cd502d5d8ba9a5e5fa371d18d
Showing with 1 addition and 1 deletion.
  1. +1 −1 install.js
View
@@ -56,7 +56,7 @@ async.series([
envpassthru("mkdir", "-p", buildDir, cb);
},
function(cb) {
- envpassthru("cmake", "-DTHREADSAFE=1", "-DBUILD_CLAR=0", "..", {
+ envpassthru("cmake", "-DCMAKE_C_FLAGS='-fPIC'", "-DTHREADSAFE=1", "-DBUILD_CLAR=0", "..", {
cwd: buildDir
}, cb);
},

0 comments on commit 3ac210a

Please sign in to comment.