Skip to content

Commit

Permalink
Fixing up build procedure.
Browse files Browse the repository at this point in the history
  • Loading branch information
chirino committed Aug 2, 2012
1 parent b8b2a02 commit fa003df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -51,7 +51,7 @@
<forge-project-id>leveldbjni</forge-project-id>
<forge-project-id-uc>LEVELDBJNI</forge-project-id-uc>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<hawtjni-version>1.5</hawtjni-version>
<hawtjni-version>1.6-SNAPSHOT</hawtjni-version>
<leveldb-api-version>0.2</leveldb-api-version>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -207,11 +207,11 @@ Compile the snappy project. This produces a static library.
Patch and Compile the leveldb project. This produces a static library.

cd ../leveldb
export LIBRARY_PATH=`cd ../snappy-1.0.5/.libs/; pwd`
export LIBRARY_PATH=`cd ../snappy-1.0.5; pwd`
export C_INCLUDE_PATH=${LIBRARY_PATH}
export CPLUS_INCLUDE_PATH=${LIBRARY_PATH}
git apply ../leveldbjni/leveldb.patch
make
make libleveldb.a

Now use maven to build the leveldbjni project.

Expand Down

0 comments on commit fa003df

Please sign in to comment.