)]}'
{
  "commit": "dd1b3e532d228ed75d34480ee539f71b76a4fa89",
  "tree": "1a5d4fdba4b002d7cd8688668a243fd68101d44f",
  "parents": [
    "1ccd232709d409798aac93f45b2a2e1c43e98ec4"
  ],
  "author": {
    "name": "Brandon Maier",
    "email": "brandon.maier@gmail.com",
    "time": "Thu Mar 06 20:30:47 2025 -0600"
  },
  "committer": {
    "name": "David Gibson",
    "email": "david@gibson.dropbear.id.au",
    "time": "Thu Mar 13 16:19:27 2025 +1100"
  },
  "message": "meson: support building libfdt without static library\n\nSome packaging systems like NixOS don\u0027t support compiling static\nlibraries. However libfdt\u0027s meson.build uses `both_library()` which\nforces the build to always compile shared and static libraries. Removing\n`both_library()` will make packaging easier.\n\nlibfdt uses `both_libraries()` to support the \u0027static-build\u0027 option.\nBut we do not need the \u0027static-build\u0027 option as Meson can natively\nbuild static using\n\n\u003e meson setup builddir/ -Dc_link_args\u003d\u0027-static\u0027 --prefer-static --default-library\u003dstatic\n\nSo drop \u0027static-build\u0027 and then replace `both_libraries()` with\n`library()`.\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@gmail.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bf8343f63695d587bc3969c7c3fea74a0ceda6aa",
      "old_mode": 33188,
      "old_path": "libfdt/meson.build",
      "new_id": "c2f4bd60bd5f1d91a4b2e264dda16d0e474d1790",
      "new_mode": 33188,
      "new_path": "libfdt/meson.build"
    },
    {
      "type": "modify",
      "old_id": "6dbf6333959453196ba13861d7f86459791804da",
      "old_mode": 33188,
      "old_path": "meson.build",
      "new_id": "3026f88d895a8c1b90dccf1ce81a695c065d1e6c",
      "new_mode": 33188,
      "new_path": "meson.build"
    },
    {
      "type": "modify",
      "old_id": "36f391af69603f43024f75e3e54c76e753bf5638",
      "old_mode": 33188,
      "old_path": "meson_options.txt",
      "new_id": "62b31b3aca699f6d3bc16ec1393903e110959757",
      "new_mode": 33188,
      "new_path": "meson_options.txt"
    },
    {
      "type": "modify",
      "old_id": "f1044b97bc0935f31e2aaa91e199d6b6d66c329b",
      "old_mode": 33188,
      "old_path": "tests/meson.build",
      "new_id": "52d657e642f1065779deba051fd0ecd25d4c399f",
      "new_mode": 33188,
      "new_path": "tests/meson.build"
    }
  ]
}
