1
0
mirror of https://github.com/fuse-friends/fuse-native synced 2025-06-13 12:53:54 +00:00

Merge pull request #12 from NodeOS/master

Allow to set the location of the includes and libraries
This commit is contained in:
Mathias Buus 2015-09-25 09:00:27 -07:00
commit e454c0ffc5
2 changed files with 13 additions and 2 deletions

2
.gitignore vendored
View File

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

View File

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