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:
commit
e454c0ffc5
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
|||||||
node_modules
|
node_modules
|
||||||
.nadconfig.mk
|
.nadconfig.mk
|
||||||
build
|
build
|
||||||
|
deps/
|
||||||
|
npm-debug.log
|
||||||
|
13
binding.gyp
13
binding.gyp
@ -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)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
Loading…
Reference in New Issue
Block a user