• Alan Grosskurth's avatar
    Make vendored libraries available at compile time (fixes #57) · bcc3ba09
    Alan Grosskurth authored
    When building, BUILD_DIR is set to a temporary directory. Vendored
    libraries (e.g., pylibmc) are downloaded and unpacked in
    $BUILD_DIR/.heroku/vendor/lib, but this is not currently in
    LIBRARY_PATH or LD_LIBRARY_PATH.
    
    Fix this by doing the following:
    
    * Add $BUILD_DIR/.heroku/vendor/lib to LIBRARY_PATH/LD_LIBRARY_PATH
    
    * Add $BUILD_DIR/.heroku/vendor/include to
      C_INCLUDE_PATH/CPLUS_INCLUDE_PATH
    
    * Add $BUILD_DIR/.heroku/vendor/bin to PATH, so vendored commands can
      be used at compile time (e.g., curl-config)
    
    * Add $BUILD_DIR/.heroku/vendor/lib/pkg-config to PKG_CONFIG_PATH, so
      vendored packages can be found with pkg-config
    bcc3ba09
Name
Last commit
Last update
bin Loading commit data...
test Loading commit data...
vendor Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
Changelog.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Readme.md Loading commit data...
requirements.txt Loading commit data...