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:
@@ -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",
|
||||
|
||||
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user