You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make vendored libraries available at compile time (fixesheroku#57)
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
0 commit comments