mirror of
https://github.com/fuse-friends/fuse-native
synced 2025-06-13 12:53:54 +00:00
Allow to set the location of the includes and libraries
This commit is contained in:
parent
2799eb9fe8
commit
029405ad2e
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
|||||||
node_modules
|
node_modules
|
||||||
.nadconfig.mk
|
.nadconfig.mk
|
||||||
build
|
build
|
||||||
|
deps/
|
||||||
|
npm-debug.log
|
||||||
|
12
binding.gyp
12
binding.gyp
@ -7,12 +7,20 @@
|
|||||||
],
|
],
|
||||||
"conditions": [
|
"conditions": [
|
||||||
['OS!="win"', {
|
['OS!="win"', {
|
||||||
|
'variables':
|
||||||
|
{
|
||||||
|
'fuse_includes%' : '<!(pkg-config fuse --cflags-only-I | sed s/-I//g)',
|
||||||
|
'fuse_libraries%': '',
|
||||||
|
},
|
||||||
"include_dirs": [
|
"include_dirs": [
|
||||||
"<!@(pkg-config fuse --cflags-only-I | sed s/-I//g)"
|
"<@(fuse_includes)"
|
||||||
|
],
|
||||||
|
'library_dirs': [
|
||||||
|
'<@(fuse_libraries)',
|
||||||
],
|
],
|
||||||
"link_settings": {
|
"link_settings": {
|
||||||
"libraries": [
|
"libraries": [
|
||||||
"<!@(pkg-config --libs-only-L --libs-only-l fuse)"
|
"-lfuse"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
Loading…
Reference in New Issue
Block a user