Author: andreasf Date: 2010-08-14 13:38:06 +0200 (Sat, 14 Aug 2010) New Revision: 38097 Changeset: http://dev.haiku-os.org/changeset/38097 Modified: haiku/trunk/src/tools/keymap/Jamfile Log: keymap: Fix build on Solaris host The updated glibc regex sources use source-local includes, such as "regex_internal.h", so add the regex directory to the search path. Define __USE_GNU as in r38031 to define GNU extensions used and HAVE_STDBOOL_H to avoid build failure due to type bool. Modified: haiku/trunk/src/tools/keymap/Jamfile =================================================================== --- haiku/trunk/src/tools/keymap/Jamfile 2010-08-14 11:10:40 UTC (rev 38096) +++ haiku/trunk/src/tools/keymap/Jamfile 2010-08-14 11:38:06 UTC (rev 38097) @@ -11,6 +11,8 @@ local storageSources ; if $(HOST_PLATFORM) = cygwin || $(HOST_PLATFORM) = sunos { + UseHeaders [ FDirName $(HAIKU_TOP) src system libroot posix glibc regex ] ; + SubDirCcFlags -D__USE_GNU -DHAVE_STDBOOL_H ; regexSources = regex.c ; } if $(HOST_PLATFORM) = haiku_host {