From 90d64ed2bfc6224394ac2ed7643883a447d261af Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Tue, 24 Jul 2007 14:12:38 +0000 Subject: [PATCH] Fix some bugs in libxml2 make --- package/libxml2/Config.in | 10 ++++++++++ package/libxml2/libxml2.mk | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/package/libxml2/Config.in b/package/libxml2/Config.in index cb5c49594c..6d8ee45cfd 100644 --- a/package/libxml2/Config.in +++ b/package/libxml2/Config.in @@ -6,3 +6,13 @@ config BR2_PACKAGE_LIBXML2 Requires WCHAR ftp://xmlsoft.org/libxml2 + +config BR2_PACKAGE_LIBXML2_TARGET_HEADERS + bool "libxml2 target headers" + default n + help + XML C Parser + Requires WCHAR + + ftp://xmlsoft.org/libxml2 + diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk index 0e6fc2d4c1..d9e2a35e65 100644 --- a/package/libxml2/libxml2.mk +++ b/package/libxml2/libxml2.mk @@ -53,11 +53,11 @@ libxml2: uclibc $(TARGET_DIR)/usr/lib/libxml2.so libxml2-headers $(STAGING_DIR)/usr/include/libxml: $(TARGET_DIR)/usr/lib/libxml2.a cp -af $(LIBXML2_DIR)/include/libxml $(STAGING_DIR)/usr/include/libxml2 -$(TARGET_DIR)/usr/include: libxml2-headers +$(TARGET_DIR)/usr/include/libxml2: libxml2-headers cp -af $(LIBXML2_DIR)/include/libxml $(TARGET_DIR)/usr/include/libxml2 -libxml2-headers: $(STAGING_DIR)/usr/include/libxml2 +libxml2-headers: $(STAGING_DIR)/usr/include/libxml libxml2-target-headers: $(TARGET_DIR)/usr/include/libxml2 -- 2.30.2