mirror of
https://github.com/fuse-friends/fuse-native
synced 2024-10-27 18:34:01 +00:00
Re-enable pkg-config for libraries instead of hardcoded '-lfuse'
This commit is contained in:
parent
029405ad2e
commit
a6ae8f850e
11
binding.gyp
11
binding.gyp
@ -9,18 +9,19 @@
|
|||||||
['OS!="win"', {
|
['OS!="win"', {
|
||||||
'variables':
|
'variables':
|
||||||
{
|
{
|
||||||
'fuse_includes%' : '<!(pkg-config fuse --cflags-only-I | sed s/-I//g)',
|
'fuse__include_dirs%': '<!(pkg-config fuse --cflags-only-I | sed s/-I//g)',
|
||||||
'fuse_libraries%': '',
|
'fuse__library_dirs%': '',
|
||||||
|
'fuse__libraries%' : '<!(pkg-config --libs-only-L --libs-only-l fuse)',
|
||||||
},
|
},
|
||||||
"include_dirs": [
|
"include_dirs": [
|
||||||
"<@(fuse_includes)"
|
"<@(fuse__include_dirs)"
|
||||||
],
|
],
|
||||||
'library_dirs': [
|
'library_dirs': [
|
||||||
'<@(fuse_libraries)',
|
'<@(fuse__library_dirs)',
|
||||||
],
|
],
|
||||||
"link_settings": {
|
"link_settings": {
|
||||||
"libraries": [
|
"libraries": [
|
||||||
"-lfuse"
|
"<@(fuse__libraries)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
Loading…
Reference in New Issue
Block a user