فهرست منبع

Fix some bugs in libxml2 make

Ulf Samuelsson 18 سال پیش
والد
کامیت
90d64ed2bf
2فایلهای تغییر یافته به همراه12 افزوده شده و 2 حذف شده
  1. 10 0
      package/libxml2/Config.in
  2. 2 2
      package/libxml2/libxml2.mk

+ 10 - 0
package/libxml2/Config.in

@@ -6,3 +6,13 @@ config BR2_PACKAGE_LIBXML2
 	  Requires WCHAR
 	  Requires WCHAR
 
 
 	  ftp://xmlsoft.org/libxml2
 	  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
+

+ 2 - 2
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
 $(STAGING_DIR)/usr/include/libxml:	$(TARGET_DIR)/usr/lib/libxml2.a
 	cp -af $(LIBXML2_DIR)/include/libxml $(STAGING_DIR)/usr/include/libxml2
 	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
 	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
 libxml2-target-headers: $(TARGET_DIR)/usr/include/libxml2