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

tweaks to bindings.gyp

This commit is contained in:
Raymond Hammarling 2015-08-07 01:19:15 +02:00
parent 89f657fbda
commit e351388783

View File

@ -2,10 +2,12 @@
"targets": [{ "targets": [{
"target_name": "fuse_bindings", "target_name": "fuse_bindings",
"sources": ["fuse-bindings.cc", "abstractions.cc"], "sources": ["fuse-bindings.cc", "abstractions.cc"],
"include_dirs": [
"<!(node -e \"require('nan')\")"
],
"conditions": [ "conditions": [
['OS!="win"', { ['OS!="win"', {
"include_dirs": [ "include_dirs": [
"<!(node -e \"require('nan')\")",
"<!@(pkg-config fuse --cflags-only-I | sed s/-I//g)" "<!@(pkg-config fuse --cflags-only-I | sed s/-I//g)"
], ],
"link_settings": { "link_settings": {
@ -16,8 +18,8 @@
}], }],
['OS=="win"', { ['OS=="win"', {
"include_dirs": [ "include_dirs": [
"<!(node -e \"require('nan')\")", "$(DOKAN_FUSE_INCLUDE)",
"D:\\Git-Repos\\dokany\\dokan_fuse\\include" "$(INCLUDE)"
], ],
"link_settings": { "link_settings": {
"libraries": [ "libraries": [