Browse Source

libxml2: fix build with BR2_CONFIG_CACHE

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 15 years ago
parent
commit
fa946b788e
2 changed files with 6 additions and 4 deletions
  1. 4 4
      CHANGES
  2. 2 0
      package/libxml2/libxml2.mk

+ 4 - 4
CHANGES

@@ -25,10 +25,10 @@
 	gqview, gstreamer, gst-plugins-bad, gst-plugins-base, gst-plugins-good,
 	imagemagick, ipkg, iptables, iw, kernel-headers, kismet, leafpad,
 	libelf, libevent, libglib2, libidn, liblockfile, libmad, libpcap,
-	libupnp, libuuid, lighttpd, ltrace, lua, lzma, magiccube4d, matchbox,
-	mdadm, nbd, ncftp, ncurses, netkittelnet, netsnmp, ntfs-3g, openntp,
-	openssl, pcmanfm, php, python, quagga, radvd, rsync, rubix, samba,
-	sawman, sdl, shared-mime-info, spawn-fcgi, speech-tools, sqlite,
+	libupnp, libuuid, libxml2, lighttpd, ltrace, lua, lzma, magiccube4d,
+	matchbox, mdadm, nbd, ncftp, ncurses, netkittelnet, netsnmp, ntfs-3g,
+	openntp, openssl, pcmanfm, php, python, quagga, radvd, rsync, rubix,
+	samba, sawman, sdl, shared-mime-info, spawn-fcgi, speech-tools, sqlite,
 	squashfs, synergy, syslinux, target-binutils, tcpdump, u-boot,
 	util-linux, valgrind, vsftpd, wipe, wpa-supplicant,
 	xdata_xcursor-themes, xboard, xstroke, zlib

+ 2 - 0
package/libxml2/libxml2.mk

@@ -11,6 +11,8 @@ LIBXML2_INSTALL_TARGET = YES
 
 ifneq ($(BR2_LARGEFILE),y)
 LIBXML2_CONF_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
+# the above doesn't work with shared config.cache
+LIBXML2_USE_CONFIG_CACHE = NO
 endif
 
 LIBXML2_CONF_OPT = --with-gnu-ld --enable-shared \