Permalink
Browse files

Update INSTALL instructions (use CFLAGS/LDFLAGS)

  • Loading branch information...
dottedmag committed Jan 1, 2015
1 parent 44c50d6 commit fd87831a8c23498e65304fce341718bd2968211b
Showing with 3 additions and 6 deletions.
  1. +3 −6 INSTALL
View
@@ -13,10 +13,7 @@ Installation from sources
$ python setup.py install
If the compilation is failing because your chmlib is installed somewhere not
visible to gcc, then you can use the CPATH and LIBRARY_PATH environment
variables before trying to compile:
If the chmlib is not in standard compiler search paths,
you can use CFLAGS/LDFLAGS environment variables, e.g.
CPATH=<directory where chmlib include files are> \
LIBRARY_PATH=<directory where the chmlib library is> \
python setup.py install
$ CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib python setup.py install

0 comments on commit fd87831

Please sign in to comment.