All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/xmlstarlet: fix host build
@ 2017-08-30 22:40 Romain Naour
  2017-08-31  7:14 ` Thomas Petazzoni
  0 siblings, 1 reply; 9+ messages in thread
From: Romain Naour @ 2017-08-30 22:40 UTC (permalink / raw)
  To: buildroot

Provide the path to HOST_DIR for libxml, libxslt and libiconv like for
the target variant.

Fixes:
src/xml_C14N.c:12:31: erreur fatale?: libxml/xmlversion.h : No such file or directory
 #include <libxml/xmlversion.h>
                               ^
In file included from src/trans.c:4:0:
src/trans.h:32:30: erreur fatale?: libxml/xmlmemory.h : No such file or directory
 #include <libxml/xmlmemory.h>

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/xmlstarlet/xmlstarlet.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/xmlstarlet/xmlstarlet.mk b/package/xmlstarlet/xmlstarlet.mk
index 9920dcf..673eedb 100644
--- a/package/xmlstarlet/xmlstarlet.mk
+++ b/package/xmlstarlet/xmlstarlet.mk
@@ -26,5 +26,10 @@ endif
 
 HOST_XMLSTARLET_DEPENDENCIES += host-libxml2 host-libxslt
 
+HOST_XMLSTARLET_CONF_OPTS += \
+	--with-libxml-prefix=$(HOST_DIR)/usr \
+	--with-libxslt-prefix=$(HOST_DIR)/usr \
+	--with-libiconv-prefix=$(HOST_DIR)/usr
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
-- 
2.9.5

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-01 19:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-30 22:40 [Buildroot] [PATCH] package/xmlstarlet: fix host build Romain Naour
2017-08-31  7:14 ` Thomas Petazzoni
2017-08-31  7:25   ` Romain Naour
2017-08-31  7:39     ` Thomas Petazzoni
2017-08-31 10:51       ` Romain Naour
2017-08-31 11:10         ` Thomas Petazzoni
2017-08-31 18:42           ` Romain Naour
2017-08-31 19:33             ` Thomas Petazzoni
2017-09-01 19:36               ` Romain Naour

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.