diff --git a/releases.json b/releases.json index 4f0b50a02..ebeb8be72 100644 --- a/releases.json +++ b/releases.json @@ -1175,6 +1175,7 @@ "libarchive" ], "versions": [ + "3.7.2-2", "3.7.2-1", "3.7.1-2", "3.7.1-1", diff --git a/subprojects/packagefiles/libarchive/meson.build b/subprojects/packagefiles/libarchive/meson.build index 801a343fd..c1dc4b18d 100644 --- a/subprojects/packagefiles/libarchive/meson.build +++ b/subprojects/packagefiles/libarchive/meson.build @@ -169,7 +169,7 @@ types = { } foreach t, v : types - if not cc.has_type(t, prefix: '#include ') + if not cc.has_type(t, prefix: '#include ', args: '-D_GNU_SOURCE') cdata.set(t, v) endif endforeach