)]}'
{
  "commit": "64f8c7d80fd9685936613f6c564b9572dd28561d",
  "tree": "74f7481b1c2ac5c89102b1e6d0dd256fa4cf1f36",
  "parents": [
    "a8f9790a9bae34b4ef6b1c0c9391d2a9cc991f47"
  ],
  "author": {
    "name": "Thomas Petazzoni",
    "email": "thomas.petazzoni@free-electrons.com",
    "time": "Sun Aug 21 09:23:04 2016 +0300"
  },
  "committer": {
    "name": "Paul Jakma",
    "email": "paul@quagga.net",
    "time": "Mon Jan 23 18:51:51 2017 +0000"
  },
  "message": "configure: fix static linking with readline\n\nWhen static linking is used, the order of the libraries is important,\nand the libraries using a symbol from another library should be listed\n*before* the library providing that symbol (see\nhttp://eli.thegreenplace.net/2013/07/09/library-order-in-static-linking)\nfor details.\n\nWhen vtysh is linked statically, the command line contains \"-lcurses\n-lreadline\", which causes a build failure due to unresolved\nsymbols. This is because readline is using symbols from the curses\nlibrary: the order should be the opposite.\n\nThis patch fixes that problem by putting the -lreadline at the\nbeginning of the LIBREADLINE variable calcualted by the configure\nscript.\n\nSigned-off-by: Thomas Petazzoni \u003cthomas.petazzoni@free-electrons.com\u003e\nSigned-off-by: Baruch Siach \u003cbaruch@tkos.co.il\u003e\nSigned-off-by: Thomas Petazzoni \u003cthomas.petazzoni@free-electrons.com\u003e\nSigned-off-by: Baruch Siach \u003cbaruch@tkos.co.il\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c99d1117b35dc5ad1c444109cda4048f9fe38952",
      "old_mode": 33261,
      "old_path": "configure.ac",
      "new_id": "e601da5d9fe5a7cd98c5c92bf21162eb9a565dec",
      "new_mode": 33261,
      "new_path": "configure.ac"
    }
  ]
}
