Browse Source

Tripcode module building tweaks

pull/126/head
Lal'C Mellk Mal 3 years ago
parent
commit
5dac6fa1ba
2 changed files with 4 additions and 2 deletions
  1. +1
    -0
      README.md
  2. +3
    -2
      tripcode/binding.gyp

+ 1
- 0
README.md View File

@@ -10,6 +10,7 @@ Setup:
* Copy hot.js.example to hot.js and configure
* Copy imager/config.js.example to imager/config.js and configure
* Copy report/config.js.example to report/config.js and configure
* You might need to run `npm install -g node-gyp`
* Run `npm install` to install npm deps and compile a few helpers
* Run `node builder.js` to run an auto-reloading development server



+ 3
- 2
tripcode/binding.gyp View File

@@ -7,9 +7,10 @@
'sources': ['tripcode.cc'],
'link_settings': {
'conditions': [
['OS=="linux"', {'libraries': ['-lcrypt', '-liconv']}],
['OS=="linux"', {'libraries': ['-lcrypt']}],
['OS=="freebsd"', {'libraries': ['-lcrypt', '-liconv']}],
['OS=="mac"', {'libraries': ['-lcrypto', '-liconv']}]
['OS=="mac"', {'libraries': ['-lcrypto', '-liconv'],
'library_dirs': ['/usr/local/opt/openssl/lib']}]
]
}
}]


Loading…
Cancel
Save