Skip to content

Commit

Permalink
Merge pull request #1 from jmkacz/ubuntu
Browse files Browse the repository at this point in the history
Using libzookeeper-mt-dev-3.3.5, on Ubuntu 12.04, the header files exist
under /usr/include/zookeeper.

Also, In ZooKeeper 3.4.0 and later, the header files will exist under
INCDIR/zookeeper, instead of INCDIR/c-client-src.

https://issues.apache.org/jira/browse/ZOOKEEPER-1033
  • Loading branch information
stfp committed Jun 4, 2012
2 parents d16447e + 9994aa2 commit 1f75fe0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -19,7 +19,8 @@

zookeepermodule = Extension("zookeeper",
sources=["zookeeper.c"],
include_dirs=["/usr/include/c-client-src", "/usr/local/include/c-client-src"],
include_dirs=["/usr/include/c-client-src", "/usr/local/include/c-client-src",
"/usr/include/zookeeper", "/usr/local/include/zookeeper"],
libraries=["zookeeper_mt"],
)

Expand Down

0 comments on commit 1f75fe0

Please sign in to comment.