Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (37 sloc) 1.18 KB
{
'targets': [
{
'target_name': 'pcsclite',
'sources': [ 'src/addon.cpp', 'src/pcsclite.cpp', 'src/cardreader.cpp' ],
'cflags': [
'-Wall',
'-Wextra',
'-Wno-unused-parameter',
'-fPIC',
'-fno-strict-aliasing',
'-fno-exceptions',
'-pedantic'
],
'conditions': [
['OS=="linux"', {
'include_dirs': [
'/usr/include/PCSC',
'<!(node -e "require(\'nan\')")'
],
'link_settings': {
'libraries': [ '-lpcsclite' ],
'library_dirs': [ '/usr/lib' ]
}
}],
['OS=="mac"', {
'libraries': ['-framework', 'PCSC'],
"include_dirs" : [ "<!(node -e \"require('nan')\")" ]
}],
['OS=="win"', {
'libraries': ['-lWinSCard'],
"include_dirs" : [ "<!(node -e \"require('nan')\")" ]
}]
]
}
]
}
You can’t perform that action at this time.