xmlada 21.0.0: fix post-fetch configure (#572)

* xmlada-21.0.0: fix post-fetch configure

Fix configure

* xmlada-22.0.0: fix post-fetch configure
This commit is contained in:
Fabien Chouteau
2022-07-22 18:43:36 +02:00
committed by GitHub
parent 23ba528593
commit 1e8637173e
2 changed files with 10 additions and 3 deletions
+8 -1
View File
@@ -13,10 +13,17 @@ project-files = ["distrib/xmlada.gpr",
"schema/xmlada_schema.gpr",
"unicode/xmlada_unicode.gpr"]
[[actions]]
# XMLada 21.0 config scripts are not able to detect build machine on msys2.
# We explicitly set the value in on the command line:
[[actions."case(distribution)".msys2]]
type = "post-fetch"
command = ["sh", "configure", "--build=x86_64-w64-mingw32"]
# For other hosts the detection works fine:
[[actions."case(distribution)"."..."]]
type = "post-fetch"
command = ["sh", "configure"]
[gpr-externals]
LIBRARY_TYPE = ["static", "relocatable", "static-pic"]
XMLADA_BUILD_MODE = ["distrib", "Debug", "Production",
+2 -2
View File
@@ -21,12 +21,12 @@ disabled = true
# XMLada 22.0 config scripts are not able to detect build machine on msys2.
# We explicitly set the value in on the command line:
[[actions."case(os)".windows]]
[[actions."case(distribution)".msys2]]
type = "post-fetch"
command = ["sh", "configure", "--build=x86_64-w64-mingw32"]
# For other hosts the detection works fine:
[[actions."case(os)"."..."]]
[[actions."case(distribution)"."..."]]
type = "post-fetch"
command = ["sh", "configure"]