Fix some bugs in libxml2 make

This commit is contained in:
Ulf Samuelsson 2007-07-24 14:12:38 +00:00
parent cc4cb291a4
commit 90d64ed2bf
2 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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