)]}'
{
  "commit": "1b6f5b5cebb8cbda24b3de757dfe2e59f97f92f3",
  "tree": "e5ab81717d1ca0ab5d3a9987e805ad73e026ee3d",
  "parents": [
    "d1d0086bf50db52d460edd199524b3c456c1020f"
  ],
  "author": {
    "name": "Kirill Makurin",
    "email": "maiddaisuki@outlook.com",
    "time": "Wed Jun 04 00:27:01 2025 +0900"
  },
  "committer": {
    "name": "LIU Hao",
    "email": "lh_mouse@126.com",
    "time": "Wed Jun 04 11:51:02 2025 +0800"
  },
  "message": "winpthreads: make testing shared library work\n\nRunning `make check` when configured with `--disable-static`,\ndepending on whether an installed winpthread library can be found\nwhen linking tests, has the following consequences:\n\nIf an installed winpthread library is found, tests will be linked\nagainst installed library instead of the one we just built.\n\nIf there is no installed winpthread library, tests will be linked\nagainst shared library. This will result in tests failing, since\nthey will fail to locate just built DLL at runtime.\n\nTo fix this:\n\nRemove `-static` from `AM_LDFLAGS`, so we can link against the DLL.\n\nUse LDADD to link tests against just built winpthread library.\nUsing `-l` is inappropriate to link against built libraries as it\nshould only be used for preinstalled libraries. Instead, pass\nwinpthread.la through LDADD.\n\nExecutable wrappers created by libtool now will handle runtime\nsearch path.\n\nSigned-off-by: Kirill Makurin \u003cmaiddaisuki@outlook.com\u003e\nSigned-off-by: LIU Hao \u003clh_mouse@126.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9dda82f73e0cd061f083cc6f5c18f204d42fe0be",
      "old_mode": 33188,
      "old_path": "mingw-w64-libraries/winpthreads/tests/Makefile.am",
      "new_id": "7fc84d09d9585a6d5b32eff2afbdda2c35eb1093",
      "new_mode": 33188,
      "new_path": "mingw-w64-libraries/winpthreads/tests/Makefile.am"
    }
  ]
}
