Skip to content

Instantly share code, notes, and snippets.

@jfhbrook jfhbrook/ Secret
Created Jul 11, 2012

What would you like to do?
Having issues with compile flags on nodejitsu?

Having issues with compile steps on nodejitsu?

You may have to set some environment flags manually in order to properly compile your code on SmartOS right now. The easiest way is to add this fragment to your project'spackage.json:

  "env": {
    "CXX": "/opt/local/bin/g++ -m64",
    "CPPFLAGS": "-I/opt/local/include",
    "LD_OPTIONS": "-L/opt/local/lib -lsocket -lnsl",
    "PYTHON": "/opt/local/bin/python2.7"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.