Fix FreeBSD build.

- Recent changes to the build system appear to make the assumption
  that the GNU regex APIs are universally available. This isn't the
  case on FreeBSD, which requires libgnuregex to provide that
  functionality. This broke the host keymap build.
This commit is contained in:
Rene Gollent
2017-12-27 23:06:56 -05:00
parent 73159ec931
commit 16b34a8fc7
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -573,7 +573,7 @@ HOST_HDRS += [ FDirName $(HAIKU_TOP) headers build host $(HOST_PLATFORM) ] ;
if $(HOST_PLATFORM) = freebsd {
# FreeBSD's gcc doesn't include /usr/local/* in its search paths,
# though that's where most things from ports wind up being installed.
HOST_HDRS += /usr/local/include ;
HOST_HDRS += /usr/local/include /usr/include/gnu ;
HOST_LINKFLAGS += -L/usr/local/lib ;
}