Tell PTXdist to build zlib before xmlstarlet, otherwise xmlstarlet can
fail in parallel builds:

    making links in crypto/cmac...
    [...]/arm-v7a-linux-gnueabihf/bin/ld: cannot find -lz
    collect2: error: ld returned 1 exit status
    Makefile:376: recipe for target xml failed

Signed-off-by: Roland Hieber <[email protected]>
---
 rules/xmlstarlet.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/xmlstarlet.in b/rules/xmlstarlet.in
index e7ad99ba7..c000c06e9 100644
--- a/rules/xmlstarlet.in
+++ b/rules/xmlstarlet.in
@@ -5,6 +5,7 @@ config XMLSTARLET
        select LIBXML2
        select LIBXML2_SAX1
        select LIBXSLT
+       select ZLIB
        prompt "xmlstarlet"
        help
          XMLStarlet is a set of command line utilities (tools) which
-- 
2.20.1


_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to