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