mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Support existing path to pkg-config lib for Heroku #57
This commit is contained in:
parent
11ead360a9
commit
012edb4379
@ -3,7 +3,7 @@
|
|||||||
'target_name': 'sharp',
|
'target_name': 'sharp',
|
||||||
'sources': ['src/sharp.cc'],
|
'sources': ['src/sharp.cc'],
|
||||||
'variables': {
|
'variables': {
|
||||||
'PKG_CONFIG_PATH': '<!(which brew >/dev/null 2>&1 && eval $(brew --env) && echo $PKG_CONFIG_LIBDIR || true):/usr/local/lib/pkgconfig:/usr/lib/pkgconfig'
|
'PKG_CONFIG_PATH': '<!(which brew >/dev/null 2>&1 && eval $(brew --env) && echo $PKG_CONFIG_LIBDIR || true):$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig'
|
||||||
},
|
},
|
||||||
'libraries': [
|
'libraries': [
|
||||||
'<!(PKG_CONFIG_PATH="<(PKG_CONFIG_PATH)" pkg-config --libs vips)'
|
'<!(PKG_CONFIG_PATH="<(PKG_CONFIG_PATH)" pkg-config --libs vips)'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user