1
0
mirror of https://github.com/fuse-friends/fuse-native synced 2024-10-27 18:34:01 +00:00

Allow to set the location of the includes and libraries

This commit is contained in:
Jesús Leganés Combarro "piranna 2015-09-24 20:47:16 +02:00
parent 2799eb9fe8
commit 029405ad2e
2 changed files with 12 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
node_modules
.nadconfig.mk
build
deps/
npm-debug.log

View File

@ -7,12 +7,20 @@
],
"conditions": [
['OS!="win"', {
'variables':
{
'fuse_includes%' : '<!(pkg-config fuse --cflags-only-I | sed s/-I//g)',
'fuse_libraries%': '',
},
"include_dirs": [
"<!@(pkg-config fuse --cflags-only-I | sed s/-I//g)"
"<@(fuse_includes)"
],
'library_dirs': [
'<@(fuse_libraries)',
],
"link_settings": {
"libraries": [
"<!@(pkg-config --libs-only-L --libs-only-l fuse)"
"-lfuse"
]
}
}],