浏览代码

gperf: needs C++ support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 15 年之前
父节点
当前提交
d66727128a
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 1 1
      CHANGES
  2. 4 0
      package/gperf/Config.in

+ 1 - 1
CHANGES

@@ -21,7 +21,7 @@
 	sdl_sound, swfdec, sysstat
 	sdl_sound, swfdec, sysstat
 
 
 	Updated/fixed packages: alsamixergui, autoconf, bootutils, busybox,
 	Updated/fixed packages: alsamixergui, autoconf, bootutils, busybox,
-	gcc, directfb, dnsmasq, e2fsprogs, festival, gamin, gstreamer,
+	gcc, directfb, dnsmasq, e2fsprogs, festival, gamin, gperf, gstreamer,
 	gst-plugins-bad, gst-plugins-base, gst-plugins-good, imagemagick,
 	gst-plugins-bad, gst-plugins-base, gst-plugins-good, imagemagick,
 	ipkg, iptables, iw, kernel-headers, kismet, libelf, libevent, libglib2,
 	ipkg, iptables, iw, kernel-headers, kismet, libelf, libevent, libglib2,
 	libidn, liblockfile, libmad, libpcap, libupnp, libuuid, lighttpd,
 	libidn, liblockfile, libmad, libpcap, libupnp, libuuid, lighttpd,

+ 4 - 0
package/gperf/Config.in

@@ -1,6 +1,10 @@
 config BR2_PACKAGE_GPERF
 config BR2_PACKAGE_GPERF
 	bool "gperf"
 	bool "gperf"
+	depends on BR2_INSTALL_LIBSTDCPP
 	help
 	help
 	  A 'perfect hash function' generator
 	  A 'perfect hash function' generator
 
 
 	  http://www.gnu.org/software/gperf/
 	  http://www.gnu.org/software/gperf/
+
+comment "gperf requires a toolchain with C++ support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP