Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Parker committed Jun 12, 2014
1 parent 9c2bb3f commit 004e6fc
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
LIBGIT2_LIB=$(GOPATH)/src/github.com/libgit2/git2go/libgit2/install/lib
PROJECT_DIR=$(pwd)
export LD_LIBRARY_PATH=$(LIBGIT2_LIB)
export DYLD_LIBRARY_PATH=$(LIBGIT2_LIB)
export PKG_CONFIG_PATH=$(LIBGIT2_LIB)/pkgconfig

prepare:
- git clone git://github.com/libgit2/git2go.git $(GOPATH)/src/github.com/libgit2/git2go
chmod +x $(GOPATH)/src/github.com/libgit2/git2go/script/build-libgit2.sh
- cd $(GOPATH)/src/github.com/libgit2/git2go && script/build-libgit2.sh
- go install github.com/libgit2/git2go
- cd $(GOPATH)/src/github.com/libgit2/git2go
- git checkout origin/make-static
- git submodule update --init
- ./script/with-static.sh go install

build:
go build -o pear
Expand Down

0 comments on commit 004e6fc

Please sign in to comment.