Browse files

Update INSTALL instructions (use CFLAGS/LDFLAGS)

  • Loading branch information...
1 parent 44c50d6 commit fd87831a8c23498e65304fce341718bd2968211b @dottedmag committed Jan 1, 2015
Showing with 3 additions and 6 deletions.
  1. +3 −6 INSTALL
@@ -13,10 +13,7 @@ Installation from sources
$ python 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 install
+$ CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib python install

0 comments on commit fd87831

Please sign in to comment.