Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
onlykey authored and onlykey committed Jun 20, 2019
1 parent 5b9666d commit 0f85a3c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
28 changes: 25 additions & 3 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'conditions': [
[ 'OS=="mac"', {
"libraries": [
"<!(pwd)/mac/lib/libykpers-1.1.dylib", "<!(pwd)/mac/lib/libyubikey.0.dylib"
"<!(pwd)/mac/lib/libykpers-1.a", "<!(pwd)/mac/lib/libyubikey.a"
],
'LDFLAGS': [
'-framework IOKit',
Expand All @@ -28,12 +28,34 @@
'-framework IOKit',
'-framework CoreFoundation'
],
}
},
"copies": [
{
"destination": "build/Release",
"files": [
"mac/lib/libykpers-1.a",
"mac/lib/libyubikey.a",
"mac/lib/libykpers-1.1.dylib",
"mac/lib/libyubikey.0.dylib"
]
}
]
}], # OS==mac
[ 'OS=="linux"', {
"libraries": [
"<!(pwd)/linux/lib/libykpers-1.so", "<!(pwd)/linux/lib/libyubikey.so"
]
],
"copies": [
{
"destination": "build/Release",
"files": [
"linux/lib/libykpers-1.so",
"linux/lib/libyubikey.so",
"linux/lib/libykpers-1.a",
"linux/lib/libyubikey.a",
]
}
]
}], # OS==linux
[ 'OS=="win"', {
'msvs_settings': {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trustcrypto/onlykey_usb",
"version": "0.1.3",
"version": "0.1.4",
"description": "Cross platform USB communication transport",
"main": "./main.js",
"engines": {
Expand Down

0 comments on commit 0f85a3c

Please sign in to comment.