)]}'
{
  "commit": "2b5bbb8966e240fa352ef0ec09bef84d0507c8ea",
  "tree": "44b8f502b50a5d800cb492deef18b823eb6b8c95",
  "parents": [
    "1498dee3aadf66dbae10e699d71c62b428a511a3"
  ],
  "author": {
    "name": "Nikias Bassen",
    "email": "nikias@gmx.li",
    "time": "Wed Nov 25 15:23:03 2026 +0100"
  },
  "committer": {
    "name": "Nikias Bassen",
    "email": "nikias@gmx.li",
    "time": "Wed Nov 25 15:23:03 2026 +0100"
  },
  "message": "Windows: Don\u0027t use dllimport; only apply dllexport to DLL objects\n\nPublic headers declared the API macro as __declspec(dllimport) on\nWindows unless *_STATIC was defined. That made consumers reference\n__imp_\u003csymbol\u003e, which only exists in the DLL import library, so linking\nagainst the static library failed unless the consumer also defined\n*_STATIC.\n\nAll exported symbols are functions, so dllimport is not needed: calls\nto plain symbols link against both the static library and the import\nlibrary (via its thunks). Drop it from the public headers.\n\nOn the library side, apply __declspec(dllexport) only when libtool\ndefines DLL_EXPORT, i.e. when compiling the objects for the DLL. This\nkeeps export directives out of the objects that go into the static\nlibrary when both are built.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8403c69e3c6f76c6cd53496255281b8ebce68d8e",
      "old_mode": 33188,
      "old_path": "include/usbmuxd.h",
      "new_id": "70edbb42287561e6c0ba587eec3f0e92f1bd3c67",
      "new_mode": 33188,
      "new_path": "include/usbmuxd.h"
    },
    {
      "type": "modify",
      "old_id": "645fdcf15d1efc6c17f4e1e71cf789f2dbe7c919",
      "old_mode": 33188,
      "old_path": "src/libusbmuxd.c",
      "new_id": "081f4be6993f48f7f2ce15320a55be05b53f86e8",
      "new_mode": 33188,
      "new_path": "src/libusbmuxd.c"
    }
  ]
}
